Class: PayPal::SDK::Merchant::DataTypes::BMUpdateButtonRequestType

Inherits:
AbstractRequestType show all
Defined in:
lib/paypal-sdk/merchant/data_types.rb

Overview

Hosted Button id of the button to update. Required Character length and limitations: 10 single-byte numeric characters

Class Method Summary collapse

Class Method Details

.load_membersObject



3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
# File 'lib/paypal-sdk/merchant/data_types.rb', line 3557

def self.load_members
  # Hosted Button id of the button to update.  Required Character length and limitations: 10 single-byte numeric characters 
  object_of :HostedButtonID, String, :namespace => :ns, :required => true
  # 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: 2 single-byte alphanumeric characters 
  object_of :ButtonLanguage, String, :namespace => :ns
end