class PayPal::SDK::Merchant::DataTypes::BMCreateButtonRequestType
Type of Button to create. Required Must be one of the following: BUYNOW, CART, GIFTCERTIFICATE. SUBSCRIBE, PAYMENTPLAN, AUTOBILLING, DONATE, VIEWCART or UNSUBSCRIBE
Public Class Methods
load_members()
click to toggle source
# 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