1
0
Files
PayPal-PHP-Server-SDK/doc/models/checkout-option.md
2025-11-06 20:07:39 +00:00

1.1 KiB

Checkout Option

A checkout option as a name-and-value pair.

Structure

CheckoutOption

Fields

Name Type Tags Description Getter Setter
checkoutOptionName ?string Optional The checkout option name, such as color or texture.

Constraints: Minimum Length: 1, Maximum Length: 200, Pattern: ^[a-zA-Z0-9_'\-., ":;\!?]*$
getCheckoutOptionName(): ?string setCheckoutOptionName(?string checkoutOptionName): void
checkoutOptionValue ?string Optional The checkout option value. For example, the checkout option color might be blue or red while the checkout option texture might be smooth or rippled.

Constraints: Minimum Length: 1, Maximum Length: 200, Pattern: ^[a-zA-Z0-9_'\-., ":;\!?]*$
getCheckoutOptionValue(): ?string setCheckoutOptionValue(?string checkoutOptionValue): void

Example (as JSON)

{
  "checkout_option_name": "checkout_option_name6",
  "checkout_option_value": "checkout_option_value0"
}