Class: PayPal::SDK::REST::DataTypes::TemplateData
- Inherits:
-
Base
- Object
- Core::API::DataTypes::Base
- Base
- PayPal::SDK::REST::DataTypes::TemplateData
- Defined in:
- lib/paypal-sdk/rest/data_types.rb
Constant Summary
Constants inherited from Core::API::DataTypes::Base
Core::API::DataTypes::Base::ContentKey, Core::API::DataTypes::Base::HashOptions
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Methods inherited from Base
#http_header, #merge!, #raise_error!, raise_on_api_error, #success?
Methods inherited from Core::API::DataTypes::Base
add_attribute, add_member, array_of, #convert_array, #convert_object, define_alias_methods, #hash_key, #initialize, #member_names, members, #members, #merge!, object_of, #set, #skip_value?, snakecase, #to_hash, #value_to_hash
Methods included from Core::Logging
#log_event, #logger, logger, logger=
Constructor Details
This class inherits a constructor from PayPal::SDK::Core::API::DataTypes::Base
Class Method Details
.load_members ⇒ Object
1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 |
# File 'lib/paypal-sdk/rest/data_types.rb', line 1382 def self.load_members object_of :merchant_info, MerchantInfo array_of :billing_info, BillingInfo array_of :cc_info, String object_of :shipping_info, ShippingInfo array_of :items, InvoiceItem object_of :payment_term, PaymentTerm object_of :reference, String object_of :discount, Cost object_of :shipping_cost, ShippingCost object_of :custom, CustomAmount object_of :allow_partial_payment, Boolean object_of :minimum_amount_due, Currency object_of :tax_calculated_after_discount, Boolean object_of :tax_inclusive, Boolean object_of :terms, String object_of :note, String object_of :merchant_memo, String object_of :logo_url, String object_of :total_amount, Currency array_of :attachments, FileAttachment end |