Class: Rev::CreditCard

Inherits:
ApiSerializable show all
Defined in:
lib/rev-api/models/order_request.rb

Overview

Credit Card

Instance Attribute Summary collapse

Method Summary

Methods inherited from ApiSerializable

#initialize, #to_hash, #to_json

Constructor Details

This class inherits a constructor from Rev::ApiSerializable

Instance Attribute Details

#billing_addressObject (readonly)

Returns the value of attribute billing_address.



84
85
86
# File 'lib/rev-api/models/order_request.rb', line 84

def billing_address
  @billing_address
end

#cardholderObject (readonly)

Returns the value of attribute cardholder.



84
85
86
# File 'lib/rev-api/models/order_request.rb', line 84

def cardholder
  @cardholder
end

#expiration_monthObject (readonly)

Returns the value of attribute expiration_month.



84
85
86
# File 'lib/rev-api/models/order_request.rb', line 84

def expiration_month
  @expiration_month
end

#expiration_yearObject (readonly)

Returns the value of attribute expiration_year.



84
85
86
# File 'lib/rev-api/models/order_request.rb', line 84

def expiration_year
  @expiration_year
end

#numberObject (readonly)

Returns the value of attribute number.



84
85
86
# File 'lib/rev-api/models/order_request.rb', line 84

def number
  @number
end

#saved_idObject (readonly)

Returns the value of attribute saved_id.



84
85
86
# File 'lib/rev-api/models/order_request.rb', line 84

def saved_id
  @saved_id
end