forked from go-packages/paypal
bring back landing_page option since commit #d355a65df01285c6aa4003099f8bfcb1a48ab517 (#251)
This commit is contained in:
parent
4c16ffad0a
commit
ebf596676e
4
types.go
4
types.go
|
@ -192,14 +192,14 @@ type (
|
||||||
}
|
}
|
||||||
|
|
||||||
// ApplicationContext struct
|
// ApplicationContext struct
|
||||||
//Doc: https://developer.paypal.com/docs/api/subscriptions/v1/#definition-application_context
|
//Doc: https://developer.paypal.com/docs/api/orders/v2/#definition-application_context
|
||||||
ApplicationContext struct {
|
ApplicationContext struct {
|
||||||
BrandName string `json:"brand_name,omitempty"`
|
BrandName string `json:"brand_name,omitempty"`
|
||||||
Locale string `json:"locale,omitempty"`
|
Locale string `json:"locale,omitempty"`
|
||||||
ShippingPreference ShippingPreference `json:"shipping_preference,omitempty"`
|
ShippingPreference ShippingPreference `json:"shipping_preference,omitempty"`
|
||||||
UserAction UserAction `json:"user_action,omitempty"`
|
UserAction UserAction `json:"user_action,omitempty"`
|
||||||
PaymentMethod PaymentMethod `json:"payment_method,omitempty"`
|
PaymentMethod PaymentMethod `json:"payment_method,omitempty"`
|
||||||
//LandingPage string `json:"landing_page,omitempty"` // not found in documentation
|
LandingPage string `json:"landing_page,omitempty"`
|
||||||
ReturnURL string `json:"return_url,omitempty"`
|
ReturnURL string `json:"return_url,omitempty"`
|
||||||
CancelURL string `json:"cancel_url,omitempty"`
|
CancelURL string `json:"cancel_url,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user