Class: PayPal::SDK::REST::DataTypes::MerchantPreferences

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



2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
# File 'lib/paypal-sdk/rest/data_types.rb', line 2157

def self.load_members
  object_of :id, String
  object_of :setup_fee, Currency
  object_of :cancel_url, String
  object_of :return_url, String
  object_of :notify_url, String
  object_of :max_fail_attempts, String
  object_of :auto_bill_amount, String
  object_of :initial_fail_amount_action, String
  object_of :accepted_payment_type, String
  object_of :char_set, String
end