Class: PayPal::SDK::REST::DataTypes::PaymentCard

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!, #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


225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
# File 'lib/paypal-sdk/rest/data_types.rb', line 225

def self.load_members
  object_of :id, String
  object_of :number, String
  object_of :type, String
  object_of :expire_month, Integer
  object_of :expire_year, Integer
  object_of :start_month, String
  object_of :start_year, String
  object_of :cvv2, String
  object_of :first_name, String
  object_of :last_name, String
  object_of :billing_country, String
  object_of :billing_address, Address
  object_of :external_customer_id, String
  object_of :status, String
  object_of :valid_until, String
end