Class: PayPal::SDK::REST::DataTypes::CartBase

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



677
678
679
680
681
682
683
684
685
686
687
688
689
690
# File 'lib/paypal-sdk/rest/data_types.rb', line 677

def self.load_members
  object_of :amount, Amount
  object_of :payee, Payee
  object_of :description, String
  object_of :note_to_payee, String
  object_of :custom, String
  object_of :invoice_number, String
  object_of :soft_descriptor, String
  object_of :payment_options, PaymentOptions
  object_of :item_list, ItemList
  object_of :notify_url, String
  object_of :order_url, String
  object_of :reference_id, String
end