Class: PayPal::SDK::ButtonManagerRails::DataTypes::BMCreateButtonRequestType
- Inherits:
-
AbstractRequestType
- Object
- Core::API::DataTypes::Base
- DataType
- AbstractRequestType
- PayPal::SDK::ButtonManagerRails::DataTypes::BMCreateButtonRequestType
- Defined in:
- lib/paypal-sdk/button_manager_rails/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
3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 |
# File 'lib/paypal-sdk/button_manager_rails/data_types.rb', line 3399 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 |