Class: CheckoutSdk::Tokens::CardTokenRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/checkout_sdk/tokens/card_token_request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCardTokenRequest

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_addressCheckoutSdk::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

#cvvString

Returns:

  • (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_monthInteger

Returns:

  • (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_yearInteger

Returns:

  • (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

#nameString

Returns:

  • (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

#numberString

Returns:

  • (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

#phoneCheckoutSdk::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

#typeString

Returns:

  • (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