Class: PayPal::SDK::ButtonManager::DataTypes::BMGetButtonDetailsResponseType

Inherits:
AbstractResponseType show all
Defined in:
lib/paypal-sdk/button_manager/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



3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
# File 'lib/paypal-sdk/button_manager/data_types.rb', line 3482

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