Class: BasecommSdk::BankCard
Constant Summary collapse
- STATUS =
{ xs_bc_status_active: 'ACTIVE', xs_bc_status_deleted: 'DELETED', xs_bc_status_failed: 'FAILED' }
Instance Attribute Summary collapse
-
#alias ⇒ Object
Returns the value of attribute alias.
-
#billing_address ⇒ Object
Returns the value of attribute billing_address.
-
#creation_date ⇒ Object
Returns the value of attribute creation_date.
-
#expiration_month ⇒ Object
Returns the value of attribute expiration_month.
-
#expiration_year ⇒ Object
Returns the value of attribute expiration_year.
-
#last_used_date ⇒ Object
Returns the value of attribute last_used_date.
-
#name ⇒ Object
Returns the value of attribute name.
-
#number ⇒ Object
Returns the value of attribute number.
-
#status ⇒ Object
Returns the value of attribute status.
-
#token ⇒ Object
Returns the value of attribute token.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ BankCard
constructor
A new instance of BankCard.
- #json_prefix ⇒ Object
Methods inherited from Base
attr_accessor, attributes, #attributes, #format, json_prefix, #messages, #qualified_attributes, #qualified_key, #status_description, #status_name, #to_json
Constructor Details
Instance Attribute Details
#alias ⇒ Object
Returns the value of attribute alias.
9 10 11 |
# File 'lib/basecomm_sdk/bank_card.rb', line 9 def alias @alias end |
#billing_address ⇒ Object
Returns the value of attribute billing_address.
9 10 11 |
# File 'lib/basecomm_sdk/bank_card.rb', line 9 def billing_address @billing_address end |
#creation_date ⇒ Object
Returns the value of attribute creation_date.
9 10 11 |
# File 'lib/basecomm_sdk/bank_card.rb', line 9 def creation_date @creation_date end |
#expiration_month ⇒ Object
Returns the value of attribute expiration_month.
9 10 11 |
# File 'lib/basecomm_sdk/bank_card.rb', line 9 def expiration_month @expiration_month end |
#expiration_year ⇒ Object
Returns the value of attribute expiration_year.
9 10 11 |
# File 'lib/basecomm_sdk/bank_card.rb', line 9 def expiration_year @expiration_year end |
#last_used_date ⇒ Object
Returns the value of attribute last_used_date.
9 10 11 |
# File 'lib/basecomm_sdk/bank_card.rb', line 9 def last_used_date @last_used_date end |
#name ⇒ Object
Returns the value of attribute name.
9 10 11 |
# File 'lib/basecomm_sdk/bank_card.rb', line 9 def name @name end |
#number ⇒ Object
Returns the value of attribute number.
9 10 11 |
# File 'lib/basecomm_sdk/bank_card.rb', line 9 def number @number end |
#status ⇒ Object
Returns the value of attribute status.
9 10 11 |
# File 'lib/basecomm_sdk/bank_card.rb', line 9 def status @status end |
#token ⇒ Object
Returns the value of attribute token.
9 10 11 |
# File 'lib/basecomm_sdk/bank_card.rb', line 9 def token @token end |
Class Method Details
Instance Method Details
#json_prefix ⇒ Object
22 23 24 |
# File 'lib/basecomm_sdk/bank_card.rb', line 22 def json_prefix :bank_card end |