Class: PayPal::SDK::REST::DataTypes::AgreementTransaction

Inherits:
Base show all
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

#error, #header, #request_id

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_membersObject


2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
# File 'lib/paypal-sdk/rest/data_types.rb', line 2383

def self.load_members
  object_of :transaction_id, String
  object_of :status, String
  object_of :transaction_type, String
  object_of :amount, Currency
  object_of :fee_amount, Currency
  object_of :net_amount, Currency
  object_of :payer_email, String
  object_of :payer_name, String
  object_of :time_zone, String
  object_of :time_stamp, DateTime
end