Class: PayPal::SDK::ButtonManagerRails::DataTypes::BMGetButtonDetailsResponseType

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



3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
# File 'lib/paypal-sdk/button_manager_rails/data_types.rb', line 3538

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