Class: CheckoutSdk::Tokens::CardTokenRequest
- Inherits:
-
Object
- Object
- CheckoutSdk::Tokens::CardTokenRequest
- Defined in:
- lib/checkout_sdk/tokens/card_token_request.rb
Instance Attribute Summary collapse
- #billing_address ⇒ CheckoutSdk::Common::Address
- #cvv ⇒ String
- #expiry_month ⇒ Integer
- #expiry_year ⇒ Integer
- #name ⇒ String
- #number ⇒ String
- #phone ⇒ CheckoutSdk::Common::Phone
- #type ⇒ String
Instance Method Summary collapse
-
#initialize ⇒ CardTokenRequest
constructor
A new instance of CardTokenRequest.
Constructor Details
#initialize ⇒ CardTokenRequest
Returns a new instance of CardTokenRequest.
31 32 33 |
# File 'lib/checkout_sdk/tokens/card_token_request.rb', line 31 def initialize @type = CheckoutSdk::Tokens::TokenType::CARD end |
Instance Attribute Details
#billing_address ⇒ CheckoutSdk::Common::Address
21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/checkout_sdk/tokens/card_token_request.rb', line 21 class CardTokenRequest attr_accessor :type, :number, :expiry_month, :expiry_year, :name, :cvv, :billing_address, :phone def initialize @type = CheckoutSdk::Tokens::TokenType::CARD end end |
#cvv ⇒ String
21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/checkout_sdk/tokens/card_token_request.rb', line 21 class CardTokenRequest attr_accessor :type, :number, :expiry_month, :expiry_year, :name, :cvv, :billing_address, :phone def initialize @type = CheckoutSdk::Tokens::TokenType::CARD end end |
#expiry_month ⇒ Integer
21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/checkout_sdk/tokens/card_token_request.rb', line 21 class CardTokenRequest attr_accessor :type, :number, :expiry_month, :expiry_year, :name, :cvv, :billing_address, :phone def initialize @type = CheckoutSdk::Tokens::TokenType::CARD end end |
#expiry_year ⇒ Integer
21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/checkout_sdk/tokens/card_token_request.rb', line 21 class CardTokenRequest attr_accessor :type, :number, :expiry_month, :expiry_year, :name, :cvv, :billing_address, :phone def initialize @type = CheckoutSdk::Tokens::TokenType::CARD end end |
#name ⇒ String
21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/checkout_sdk/tokens/card_token_request.rb', line 21 class CardTokenRequest attr_accessor :type, :number, :expiry_month, :expiry_year, :name, :cvv, :billing_address, :phone def initialize @type = CheckoutSdk::Tokens::TokenType::CARD end end |
#number ⇒ String
21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/checkout_sdk/tokens/card_token_request.rb', line 21 class CardTokenRequest attr_accessor :type, :number, :expiry_month, :expiry_year, :name, :cvv, :billing_address, :phone def initialize @type = CheckoutSdk::Tokens::TokenType::CARD end end |
#phone ⇒ CheckoutSdk::Common::Phone
21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/checkout_sdk/tokens/card_token_request.rb', line 21 class CardTokenRequest attr_accessor :type, :number, :expiry_month, :expiry_year, :name, :cvv, :billing_address, :phone def initialize @type = CheckoutSdk::Tokens::TokenType::CARD end end |
#type ⇒ String
21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/checkout_sdk/tokens/card_token_request.rb', line 21 class CardTokenRequest attr_accessor :type, :number, :expiry_month, :expiry_year, :name, :cvv, :billing_address, :phone def initialize @type = CheckoutSdk::Tokens::TokenType::CARD end end |