Class: PayPal::SDK::Merchant::DataTypes::BasicAmountType

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



38
39
40
41
# File 'lib/paypal-sdk/merchant/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