Class: CheckoutSdk::Tokens::TokenMetadataResponse

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

Overview

Response from GET /tokens/tokenId/metadata.

Instance Attribute Summary collapse

Instance Attribute Details

#billing_addressTokenMetadataBillingAddress



37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/checkout_sdk/tokens/token_metadata_response.rb', line 37

class TokenMetadataResponse
  attr_accessor :token,
                :type,
                :expires_on,
                :expiry_month,
                :expiry_year,
                :scheme,
                :last4,
                :bin,
                :card_type,
                :card_category,
                :issuer,
                :issuer_country,
                :product_id,
                :product_type,
                :billing_address
end

#binString

Returns:

  • (String)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/checkout_sdk/tokens/token_metadata_response.rb', line 37

class TokenMetadataResponse
  attr_accessor :token,
                :type,
                :expires_on,
                :expiry_month,
                :expiry_year,
                :scheme,
                :last4,
                :bin,
                :card_type,
                :card_category,
                :issuer,
                :issuer_country,
                :product_id,
                :product_type,
                :billing_address
end

#card_categoryString

Returns One of CONSUMER/COMMERCIAL.

Returns:

  • (String)

    One of CONSUMER/COMMERCIAL.



37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/checkout_sdk/tokens/token_metadata_response.rb', line 37

class TokenMetadataResponse
  attr_accessor :token,
                :type,
                :expires_on,
                :expiry_month,
                :expiry_year,
                :scheme,
                :last4,
                :bin,
                :card_type,
                :card_category,
                :issuer,
                :issuer_country,
                :product_id,
                :product_type,
                :billing_address
end

#card_typeString

Returns One of CREDIT/DEBIT/PREPAID/CHARGE/“DEFERRED DEBIT”.

Returns:

  • (String)

    One of CREDIT/DEBIT/PREPAID/CHARGE/“DEFERRED DEBIT”.



37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/checkout_sdk/tokens/token_metadata_response.rb', line 37

class TokenMetadataResponse
  attr_accessor :token,
                :type,
                :expires_on,
                :expiry_month,
                :expiry_year,
                :scheme,
                :last4,
                :bin,
                :card_type,
                :card_category,
                :issuer,
                :issuer_country,
                :product_id,
                :product_type,
                :billing_address
end

#expires_onString

Returns RFC 3339 timestamp.

Returns:

  • (String)

    RFC 3339 timestamp.



37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/checkout_sdk/tokens/token_metadata_response.rb', line 37

class TokenMetadataResponse
  attr_accessor :token,
                :type,
                :expires_on,
                :expiry_month,
                :expiry_year,
                :scheme,
                :last4,
                :bin,
                :card_type,
                :card_category,
                :issuer,
                :issuer_country,
                :product_id,
                :product_type,
                :billing_address
end

#expiry_monthInteger

Returns:

  • (Integer)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/checkout_sdk/tokens/token_metadata_response.rb', line 37

class TokenMetadataResponse
  attr_accessor :token,
                :type,
                :expires_on,
                :expiry_month,
                :expiry_year,
                :scheme,
                :last4,
                :bin,
                :card_type,
                :card_category,
                :issuer,
                :issuer_country,
                :product_id,
                :product_type,
                :billing_address
end

#expiry_yearInteger

Returns:

  • (Integer)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/checkout_sdk/tokens/token_metadata_response.rb', line 37

class TokenMetadataResponse
  attr_accessor :token,
                :type,
                :expires_on,
                :expiry_month,
                :expiry_year,
                :scheme,
                :last4,
                :bin,
                :card_type,
                :card_category,
                :issuer,
                :issuer_country,
                :product_id,
                :product_type,
                :billing_address
end

#issuerString

Returns:

  • (String)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/checkout_sdk/tokens/token_metadata_response.rb', line 37

class TokenMetadataResponse
  attr_accessor :token,
                :type,
                :expires_on,
                :expiry_month,
                :expiry_year,
                :scheme,
                :last4,
                :bin,
                :card_type,
                :card_category,
                :issuer,
                :issuer_country,
                :product_id,
                :product_type,
                :billing_address
end

#issuer_countryString

Returns ISO 3166-1 alpha-2.

Returns:

  • (String)

    ISO 3166-1 alpha-2.



37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/checkout_sdk/tokens/token_metadata_response.rb', line 37

class TokenMetadataResponse
  attr_accessor :token,
                :type,
                :expires_on,
                :expiry_month,
                :expiry_year,
                :scheme,
                :last4,
                :bin,
                :card_type,
                :card_category,
                :issuer,
                :issuer_country,
                :product_id,
                :product_type,
                :billing_address
end

#last4String

Returns:

  • (String)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/checkout_sdk/tokens/token_metadata_response.rb', line 37

class TokenMetadataResponse
  attr_accessor :token,
                :type,
                :expires_on,
                :expiry_month,
                :expiry_year,
                :scheme,
                :last4,
                :bin,
                :card_type,
                :card_category,
                :issuer,
                :issuer_country,
                :product_id,
                :product_type,
                :billing_address
end

#product_idString

Returns:

  • (String)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/checkout_sdk/tokens/token_metadata_response.rb', line 37

class TokenMetadataResponse
  attr_accessor :token,
                :type,
                :expires_on,
                :expiry_month,
                :expiry_year,
                :scheme,
                :last4,
                :bin,
                :card_type,
                :card_category,
                :issuer,
                :issuer_country,
                :product_id,
                :product_type,
                :billing_address
end

#product_typeString

Returns:

  • (String)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/checkout_sdk/tokens/token_metadata_response.rb', line 37

class TokenMetadataResponse
  attr_accessor :token,
                :type,
                :expires_on,
                :expiry_month,
                :expiry_year,
                :scheme,
                :last4,
                :bin,
                :card_type,
                :card_category,
                :issuer,
                :issuer_country,
                :product_id,
                :product_type,
                :billing_address
end

#schemeString

Returns:

  • (String)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/checkout_sdk/tokens/token_metadata_response.rb', line 37

class TokenMetadataResponse
  attr_accessor :token,
                :type,
                :expires_on,
                :expiry_month,
                :expiry_year,
                :scheme,
                :last4,
                :bin,
                :card_type,
                :card_category,
                :issuer,
                :issuer_country,
                :product_id,
                :product_type,
                :billing_address
end

#tokenString

Returns:

  • (String)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/checkout_sdk/tokens/token_metadata_response.rb', line 37

class TokenMetadataResponse
  attr_accessor :token,
                :type,
                :expires_on,
                :expiry_month,
                :expiry_year,
                :scheme,
                :last4,
                :bin,
                :card_type,
                :card_category,
                :issuer,
                :issuer_country,
                :product_id,
                :product_type,
                :billing_address
end

#typeString

Returns:

  • (String)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/checkout_sdk/tokens/token_metadata_response.rb', line 37

class TokenMetadataResponse
  attr_accessor :token,
                :type,
                :expires_on,
                :expiry_month,
                :expiry_year,
                :scheme,
                :last4,
                :bin,
                :card_type,
                :card_category,
                :issuer,
                :issuer_country,
                :product_id,
                :product_type,
                :billing_address
end