1
0
Files
PayPal-PHP-Server-SDK/doc/models/venmo-wallet-experience-context.md
Dani Kirby 6b43a4225b Beta Release 0.5.0 (#3)
* Automated commit message

* Automated commit message

* Automated commit message

* Automated commit message

---------

Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
2024-09-09 12:10:34 -05:00

1.2 KiB

Venmo Wallet Experience Context

Customizes the buyer experience during the approval process for payment with Venmo.

Note: Partners and Marketplaces might configure shipping_preference during partner account setup, which overrides the request values.

Structure

VenmoWalletExperienceContext

Fields

Name Type Tags Description Getter Setter
brandName ?string Optional The business name of the merchant. The pattern is defined by an external party and supports Unicode.
Constraints: Minimum Length: 1, Maximum Length: 127, Pattern: ^.*$
getBrandName(): ?string setBrandName(?string brandName): void
shippingPreference ?string(ShippingPreference) Optional The location from which the shipping address is derived.
Default: ShippingPreference::GET_FROM_FILE
Constraints: Minimum Length: 1, Maximum Length: 24, Pattern: ^[A-Z_]+$
getShippingPreference(): ?string setShippingPreference(?string shippingPreference): void

Example (as JSON)

{
  "shipping_preference": "GET_FROM_FILE",
  "brand_name": "brand_name6"
}