Class: MangoModel::CardRegistration
- Inherits:
-
EntityBase
- Object
- EntityBase
- MangoModel::CardRegistration
- Includes:
- MangoPay::Jsonifier
- Defined in:
- lib/mangopay/model/entity/card_registration.rb
Overview
Card Registration entity
Constant Summary
Constants included from MangoPay::Jsonifier
Instance Attribute Summary collapse
-
#access_key ⇒ Object
- String
-
Its access key (a special key needed for registering a card).
-
#card_id ⇒ Object
- String
-
The card’s ID.
-
#card_registration_url ⇒ Object
- String
-
The URL to submit the card details form to.
-
#card_type ⇒ Object
- CardType
-
The type of card.
-
#currency ⇒ Object
- CurrencyIso
-
Its currency.
-
#preregistration_data ⇒ Object
- String
-
A specific value to pass to the card registration URL.
-
#registration_data ⇒ Object
- String
-
Having registered a card, this confirmation hash needs to be updated to the card item.
-
#result_code ⇒ Object
- String
-
The result code.
-
#result_message ⇒ Object
- String
-
Explanation of the result.
-
#status ⇒ Object
- CardStatus
-
Status of the registration.
-
#user_id ⇒ Object
- String
-
Its owner’s ID.
Attributes inherited from EntityBase
Method Summary
Methods included from MangoPay::Jsonifier
Methods included from NonInstantiable
Instance Attribute Details
#access_key ⇒ Object
- String
-
Its access key (a special key needed for registering a card)
16 17 18 |
# File 'lib/mangopay/model/entity/card_registration.rb', line 16 def access_key @access_key end |
#card_id ⇒ Object
- String
-
The card’s ID
32 33 34 |
# File 'lib/mangopay/model/entity/card_registration.rb', line 32 def card_id @card_id end |
#card_registration_url ⇒ Object
- String
-
The URL to submit the card details form to
22 23 24 |
# File 'lib/mangopay/model/entity/card_registration.rb', line 22 def card_registration_url @card_registration_url end |
#card_type ⇒ Object
- CardType
-
The type of card
29 30 31 |
# File 'lib/mangopay/model/entity/card_registration.rb', line 29 def card_type @card_type end |
#currency ⇒ Object
- CurrencyIso
-
Its currency
13 14 15 |
# File 'lib/mangopay/model/entity/card_registration.rb', line 13 def currency @currency end |
#preregistration_data ⇒ Object
- String
-
A specific value to pass to the card registration URL
19 20 21 |
# File 'lib/mangopay/model/entity/card_registration.rb', line 19 def preregistration_data @preregistration_data end |
#registration_data ⇒ Object
- String
-
Having registered a card, this confirmation hash needs to be
updated to the card item
26 27 28 |
# File 'lib/mangopay/model/entity/card_registration.rb', line 26 def registration_data @registration_data end |
#result_code ⇒ Object
- String
-
The result code
35 36 37 |
# File 'lib/mangopay/model/entity/card_registration.rb', line 35 def result_code @result_code end |
#result_message ⇒ Object
- String
-
Explanation of the result
38 39 40 |
# File 'lib/mangopay/model/entity/card_registration.rb', line 38 def @result_message end |
#status ⇒ Object
- CardStatus
-
Status of the registration
41 42 43 |
# File 'lib/mangopay/model/entity/card_registration.rb', line 41 def status @status end |
#user_id ⇒ Object
- String
-
Its owner’s ID
10 11 12 |
# File 'lib/mangopay/model/entity/card_registration.rb', line 10 def user_id @user_id end |