Class: Aws::Payments::Types::Card

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#brand ⇒ String

The network the card runs on.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (Integer)


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.

Returns:

  • (Integer)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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