Class: Aws::Payments::Types::Card
- Inherits:
-
Struct
- Object
- Struct
- Aws::Payments::Types::Card
- Defined in:
- gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb
Overview
The details of a card payment instrument.
Constant Summary collapse
- SENSITIVE =
[:last4, :expiration_month, :expiration_year]
Instance Attribute Summary collapse
-
#brand ⇒ String
The network the card runs on.
-
#card_type ⇒ String
Whether the card is a credit card or a debit card.
-
#expiration_month ⇒ Integer
The calendar month that the card expires in.
-
#expiration_year ⇒ Integer
The calendar year that the card expires in.
-
#issuer_country ⇒ String
The country of the bank that issued the card.
-
#issuing_bank ⇒ String
The bank that issued the card.
-
#last4 ⇒ String
The last four digits of the card number.
Instance Attribute Details
#brand ⇒ String
The network the card runs on.
240 241 242 243 244 245 246 247 248 249 250 |
# File 'gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb', line 240 class Card < Struct.new( :brand, :last4, :expiration_month, :expiration_year, :card_type, :issuing_bank, :issuer_country) SENSITIVE = [:last4, :expiration_month, :expiration_year] include Aws::Structure end |
#card_type ⇒ String
Whether the card is a credit card or a debit card.
240 241 242 243 244 245 246 247 248 249 250 |
# File 'gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb', line 240 class Card < Struct.new( :brand, :last4, :expiration_month, :expiration_year, :card_type, :issuing_bank, :issuer_country) SENSITIVE = [:last4, :expiration_month, :expiration_year] include Aws::Structure end |
#expiration_month ⇒ Integer
The calendar month that the card expires in.
240 241 242 243 244 245 246 247 248 249 250 |
# File 'gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb', line 240 class Card < Struct.new( :brand, :last4, :expiration_month, :expiration_year, :card_type, :issuing_bank, :issuer_country) SENSITIVE = [:last4, :expiration_month, :expiration_year] include Aws::Structure end |
#expiration_year ⇒ Integer
The calendar year that the card expires in.
240 241 242 243 244 245 246 247 248 249 250 |
# File 'gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb', line 240 class Card < Struct.new( :brand, :last4, :expiration_month, :expiration_year, :card_type, :issuing_bank, :issuer_country) SENSITIVE = [:last4, :expiration_month, :expiration_year] include Aws::Structure end |
#issuer_country ⇒ String
The country of the bank that issued the card.
240 241 242 243 244 245 246 247 248 249 250 |
# File 'gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb', line 240 class Card < Struct.new( :brand, :last4, :expiration_month, :expiration_year, :card_type, :issuing_bank, :issuer_country) SENSITIVE = [:last4, :expiration_month, :expiration_year] include Aws::Structure end |
#issuing_bank ⇒ String
The bank that issued the card.
240 241 242 243 244 245 246 247 248 249 250 |
# File 'gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb', line 240 class Card < Struct.new( :brand, :last4, :expiration_month, :expiration_year, :card_type, :issuing_bank, :issuer_country) SENSITIVE = [:last4, :expiration_month, :expiration_year] include Aws::Structure end |
#last4 ⇒ String
The last four digits of the card number.
240 241 242 243 244 245 246 247 248 249 250 |
# File 'gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb', line 240 class Card < Struct.new( :brand, :last4, :expiration_month, :expiration_year, :card_type, :issuing_bank, :issuer_country) SENSITIVE = [:last4, :expiration_month, :expiration_year] include Aws::Structure end |