-
Notifications
You must be signed in to change notification settings - Fork 9
/
payment_experience_type.go
30 lines (25 loc) · 1.06 KB
/
payment_experience_type.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package paypal
type WebProfiles struct {
// Request body
Name string `json:"name,omitempty"` // required
Temporary bool `json:"temporary,omitempty"`
Presentation *WebProfilesPresentation `json:"presentation,omitempty"`
InputFields *WebProfilesInputFields `json:"input_fields,omitempty"`
FlowConfig *WebProfilesFlowConfig `json:"flow_config,omitempty"`
Id string `json:"id,omitempty"`
}
type WebProfilesPresentation struct {
BrandName string `json:"brand_name,omitempty"`
LogoImage string `json:"logo_image,omitempty"`
LocaleCode string `json:"locale_code,omitempty"`
}
type WebProfilesInputFields struct {
NoShipping int `json:"no_shipping,omitempty"`
AddressOverride int `json:"address_override,omitempty"`
}
type WebProfilesFlowConfig struct {
LandingPageType string `json:"landing_page_type,omitempty"`
BankTxnPendingURL string `json:"bank_txn_pending_url,omitempty"`
UserAction string `json:"user_action,omitempty"`
ReturnURIHttpMethod string `json:"return_uri_http_method,omitempty"`
}