Class: PayPal::SDK::ButtonManagerRails::DataTypes::BasicAmountType
- Inherits:
-
DataType
- Object
- Core::API::DataTypes::Base
- DataType
- PayPal::SDK::ButtonManagerRails::DataTypes::BasicAmountType
- Defined in:
- lib/paypal-sdk/button_manager_rails/data_types.rb
Overview
On requests, you must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Limitations: Must not exceed $10,000 USD in any currency. No currency symbol. Decimal separator must be a period (.), and the thousands separator must be a comma (,).
Class Method Summary collapse
Class Method Details
.load_members ⇒ Object
38 39 40 41 |
# File 'lib/paypal-sdk/button_manager_rails/data_types.rb', line 38 def self.load_members add_attribute :currencyID, :namespace => :cc, :required => true object_of :value, String, :namespace => :cc, :required => true end |