Class: PayPal::SDK::ButtonManagerRails::DataTypes::BMUpdateButtonRequestType
- Inherits:
-
AbstractRequestType
- Object
- Core::API::DataTypes::Base
- DataType
- AbstractRequestType
- PayPal::SDK::ButtonManagerRails::DataTypes::BMUpdateButtonRequestType
- Defined in:
- lib/paypal-sdk/button_manager_rails/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_members ⇒ Object
3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 |
# File 'lib/paypal-sdk/button_manager_rails/data_types.rb', line 3449 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 |