Class: CheckoutSdk::Tokens::TokenMetadataResponse
- Inherits:
-
Object
- Object
- CheckoutSdk::Tokens::TokenMetadataResponse
- Defined in:
- lib/checkout_sdk/tokens/token_metadata_response.rb
Overview
Response from GET /tokens/tokenId/metadata.
Instance Attribute Summary collapse
- #billing_address ⇒ TokenMetadataBillingAddress
- #bin ⇒ String
-
#card_category ⇒ String
One of CONSUMER/COMMERCIAL.
-
#card_type ⇒ String
One of CREDIT/DEBIT/PREPAID/CHARGE/“DEFERRED DEBIT”.
-
#expires_on ⇒ String
RFC 3339 timestamp.
- #expiry_month ⇒ Integer
- #expiry_year ⇒ Integer
- #issuer ⇒ String
-
#issuer_country ⇒ String
ISO 3166-1 alpha-2.
- #last4 ⇒ String
- #product_id ⇒ String
- #product_type ⇒ String
- #scheme ⇒ String
- #token ⇒ String
- #type ⇒ String
Instance Attribute Details
#billing_address ⇒ TokenMetadataBillingAddress
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 |
#bin ⇒ 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_category ⇒ String
Returns 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_type ⇒ String
Returns 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_on ⇒ String
Returns 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_month ⇒ 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_year ⇒ 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 |
#issuer ⇒ 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_country ⇒ String
Returns 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 |
#last4 ⇒ 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_id ⇒ 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_type ⇒ 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 |
#scheme ⇒ 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 |
#token ⇒ 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 |
#type ⇒ 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 |