Class: PayPal::SDK::Merchant::DataTypes::BMCreateButtonRequestType
- Inherits:
-
AbstractRequestType
- Object
- Core::API::DataTypes::Base
- DataType
- AbstractRequestType
- PayPal::SDK::Merchant::DataTypes::BMCreateButtonRequestType
- Defined in:
- lib/paypal-sdk/merchant/data_types.rb
Overview
Type of Button to create. Required Must be one of the following: BUYNOW, CART, GIFTCERTIFICATE. SUBSCRIBE, PAYMENTPLAN, AUTOBILLING, DONATE, VIEWCART or UNSUBSCRIBE
Class Method Summary collapse
Class Method Details
.load_members ⇒ Object
3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 |
# File 'lib/paypal-sdk/merchant/data_types.rb', line 3507 def self.load_members # Type of Button to create. Required Must be one of the following: BUYNOW, CART, GIFTCERTIFICATE. SUBSCRIBE, PAYMENTPLAN, AUTOBILLING, DONATE, VIEWCART or UNSUBSCRIBE object_of :ButtonType, ButtonTypeType, :namespace => :ns # button code. optional Must be one of the following: hosted, encrypted or cleartext object_of :ButtonCode, ButtonCodeType, :namespace => :ns # Button sub type. optional for button types buynow and cart only Must Be either PRODUCTS or SERVICES object_of :ButtonSubType, ButtonSubTypeType, :namespace => :ns # Button Variable information At least one required recurring Character length and limitations: 63 single-byte alphanumeric characters array_of :ButtonVar, String, :namespace => :ns array_of :OptionDetails, OptionDetailsType, :namespace => :ns # Details of each option for the button. Optional array_of :TextBox, String, :namespace => :ns # Button image to use. Optional Must be one of: REG, SML, or CC object_of :ButtonImage, ButtonImageType, :namespace => :ns # Button URL for custom button image. Optional Character length and limitations: 127 single-byte alphanumeric characters object_of :ButtonImageURL, String, :namespace => :ns # Text to use on Buy Now Button. Optional Must be either BUYNOW or PAYNOW object_of :BuyNowText, BuyNowTextType, :namespace => :ns # Text to use on Subscribe button. Optional Must be either BUYNOW or SUBSCRIBE object_of :SubscribeText, SubscribeTextType, :namespace => :ns # Button Country. Optional Must be valid ISO country code object_of :ButtonCountry, CountryCodeType, :namespace => :ns # Button language code. Optional Character length and limitations: 3 single-byte alphanumeric characters object_of :ButtonLanguage, String, :namespace => :ns end |