Class: PayPal::SDK::Merchant::DataTypes::BMGetButtonDetailsResponseType

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

Overview

Type of button. One of the following: BUYNOW, CART, GIFTCERTIFICATE. SUBSCRIBE, PAYMENTPLAN, AUTOBILLING, DONATE, VIEWCART or UNSUBSCRIBE

Class Method Summary collapse

Class Method Details

.load_membersObject



3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
# File 'lib/paypal-sdk/merchant/data_types.rb', line 3646

def self.load_members
  object_of :Website, String, :namespace => :ns
  object_of :Email, String, :namespace => :ns
  object_of :Mobile, String, :namespace => :ns
  object_of :HostedButtonID, String, :namespace => :ns
  # Type of button. One of the following: BUYNOW, CART, GIFTCERTIFICATE. SUBSCRIBE, PAYMENTPLAN, AUTOBILLING, DONATE, VIEWCART or UNSUBSCRIBE 
  object_of :ButtonType, ButtonTypeType, :namespace => :ns
  # Type of button code. 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 Either PRODUCTS or SERVICES 
  object_of :ButtonSubType, ButtonSubTypeType, :namespace => :ns
  # Button Variable information Character length and limitations: 63 single-byte alphanumeric characters 
  array_of :ButtonVar, String, :namespace => :ns
  array_of :OptionDetails, OptionDetailsType, :namespace => :ns
  # Text field 
  array_of :TextBox, String, :namespace => :ns
  # Button image to use. One of: REG, SML, or CC 
  object_of :ButtonImage, ButtonImageType, :namespace => :ns
  # Button URL for custom button image. 
  object_of :ButtonImageURL, String, :namespace => :ns
  # Text to use on Buy Now Button. Either BUYNOW or PAYNOW 
  object_of :BuyNowText, BuyNowTextType, :namespace => :ns
  # Text to use on Subscribe button. Must be either BUYNOW or SUBSCRIBE 
  object_of :SubscribeText, SubscribeTextType, :namespace => :ns
  # Button Country. Valid ISO country code or 'International' 
  object_of :ButtonCountry, CountryCodeType, :namespace => :ns
  # Button language code. Character length and limitations: 3 single-byte alphanumeric characters 
  object_of :ButtonLanguage, String, :namespace => :ns
end