Class: SBF::Client::Payment::CreditCardDetails
- Inherits:
-
Details
- Object
- BaseEntity
- Details
- SBF::Client::Payment::CreditCardDetails
- Defined in:
- lib/stbaldricks/entities/lib/payment.rb
Constant Summary
Constants inherited from BaseEntity
Instance Attribute Summary collapse
-
#authorization_id ⇒ Object
Returns the value of attribute authorization_id.
-
#card_number ⇒ Object
Returns the value of attribute card_number.
-
#card_type ⇒ Object
Returns the value of attribute card_type.
-
#cardholder_name ⇒ Object
Returns the value of attribute cardholder_name.
-
#expiration_date ⇒ Object
Returns the value of attribute expiration_date.
Attributes inherited from BaseEntity
Instance Method Summary collapse
Methods inherited from BaseEntity
#add_errors, allow_instantiation?, attr_accessor, attr_reader, attr_writer, attributes, #attributes=, collection_attributes, entity_attr_accessor, entity_attr_reader, entity_attr_writer, entity_attributes, entity_collection_attr_accessor, entity_collection_attr_reader, entity_collection_attr_writer, inherited, #initialize, #model_name, multitype_attr_accessor, multitype_attr_reader, multitype_attr_writer, multitype_collection_attr_accessor, multitype_collection_attr_reader, multitype_collection_attr_writer, #not_provided_attributes, optional_attributes, #persisted?, #to_hash, #to_json
Constructor Details
This class inherits a constructor from SBF::Client::BaseEntity
Instance Attribute Details
#authorization_id ⇒ Object
Returns the value of attribute authorization_id.
26 27 28 |
# File 'lib/stbaldricks/entities/lib/payment.rb', line 26 def @authorization_id end |
#card_number ⇒ Object
Returns the value of attribute card_number.
26 27 28 |
# File 'lib/stbaldricks/entities/lib/payment.rb', line 26 def card_number @card_number end |
#card_type ⇒ Object
Returns the value of attribute card_type.
26 27 28 |
# File 'lib/stbaldricks/entities/lib/payment.rb', line 26 def card_type @card_type end |
#cardholder_name ⇒ Object
Returns the value of attribute cardholder_name.
26 27 28 |
# File 'lib/stbaldricks/entities/lib/payment.rb', line 26 def cardholder_name @cardholder_name end |
#expiration_date ⇒ Object
Returns the value of attribute expiration_date.
26 27 28 |
# File 'lib/stbaldricks/entities/lib/payment.rb', line 26 def expiration_date @expiration_date end |
Instance Method Details
#type ⇒ Object
28 29 30 |
# File 'lib/stbaldricks/entities/lib/payment.rb', line 28 def type SBF::Client::Payment::Type::CREDIT_CARD end |