Class: Aws::Payments::Types::PaymentInstrumentDetails

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb

Overview

Note:

PaymentInstrumentDetails is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of PaymentInstrumentDetails corresponding to the set member.

The details that are specific to a payment instrument's payment method.

Defined Under Namespace

Classes: Card, CnBankRedirect, InNetBanking, SepaBankAccount, UkBacsBankAccount, Unknown, Upi, UsAchBankAccount

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#card ⇒ Types::Card

The details of a card payment instrument.

Returns:



1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
# File 'gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb', line 1139

class PaymentInstrumentDetails < Struct.new(
  :card,
  :us_ach_bank_account,
  :sepa_bank_account,
  :uk_bacs_bank_account,
  :in_net_banking,
  :cn_bank_redirect,
  :upi,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Card < PaymentInstrumentDetails; end
  class UsAchBankAccount < PaymentInstrumentDetails; end
  class SepaBankAccount < PaymentInstrumentDetails; end
  class UkBacsBankAccount < PaymentInstrumentDetails; end
  class InNetBanking < PaymentInstrumentDetails; end
  class CnBankRedirect < PaymentInstrumentDetails; end
  class Upi < PaymentInstrumentDetails; end
  class Unknown < PaymentInstrumentDetails; end
end

#cn_bank_redirect ⇒ Types::CnBankRedirect

The details of a China bank redirect instrument.



1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
# File 'gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb', line 1139

class PaymentInstrumentDetails < Struct.new(
  :card,
  :us_ach_bank_account,
  :sepa_bank_account,
  :uk_bacs_bank_account,
  :in_net_banking,
  :cn_bank_redirect,
  :upi,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Card < PaymentInstrumentDetails; end
  class UsAchBankAccount < PaymentInstrumentDetails; end
  class SepaBankAccount < PaymentInstrumentDetails; end
  class UkBacsBankAccount < PaymentInstrumentDetails; end
  class InNetBanking < PaymentInstrumentDetails; end
  class CnBankRedirect < PaymentInstrumentDetails; end
  class Upi < PaymentInstrumentDetails; end
  class Unknown < PaymentInstrumentDetails; end
end

#in_net_banking ⇒ Types::InNetBanking

The details of an India net banking instrument.

Returns:



1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
# File 'gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb', line 1139

class PaymentInstrumentDetails < Struct.new(
  :card,
  :us_ach_bank_account,
  :sepa_bank_account,
  :uk_bacs_bank_account,
  :in_net_banking,
  :cn_bank_redirect,
  :upi,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Card < PaymentInstrumentDetails; end
  class UsAchBankAccount < PaymentInstrumentDetails; end
  class SepaBankAccount < PaymentInstrumentDetails; end
  class UkBacsBankAccount < PaymentInstrumentDetails; end
  class InNetBanking < PaymentInstrumentDetails; end
  class CnBankRedirect < PaymentInstrumentDetails; end
  class Upi < PaymentInstrumentDetails; end
  class Unknown < PaymentInstrumentDetails; end
end

#sepa_bank_account ⇒ Types::SepaBankAccount

The details of a bank account that is debited over Single Euro Payments Area (SEPA) Direct Debit.



1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
# File 'gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb', line 1139

class PaymentInstrumentDetails < Struct.new(
  :card,
  :us_ach_bank_account,
  :sepa_bank_account,
  :uk_bacs_bank_account,
  :in_net_banking,
  :cn_bank_redirect,
  :upi,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Card < PaymentInstrumentDetails; end
  class UsAchBankAccount < PaymentInstrumentDetails; end
  class SepaBankAccount < PaymentInstrumentDetails; end
  class UkBacsBankAccount < PaymentInstrumentDetails; end
  class InNetBanking < PaymentInstrumentDetails; end
  class CnBankRedirect < PaymentInstrumentDetails; end
  class Upi < PaymentInstrumentDetails; end
  class Unknown < PaymentInstrumentDetails; end
end

#uk_bacs_bank_account ⇒ Types::UkBacsBankAccount

The details of a bank account that is debited over Bacs Direct Debit.



1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
# File 'gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb', line 1139

class PaymentInstrumentDetails < Struct.new(
  :card,
  :us_ach_bank_account,
  :sepa_bank_account,
  :uk_bacs_bank_account,
  :in_net_banking,
  :cn_bank_redirect,
  :upi,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Card < PaymentInstrumentDetails; end
  class UsAchBankAccount < PaymentInstrumentDetails; end
  class SepaBankAccount < PaymentInstrumentDetails; end
  class UkBacsBankAccount < PaymentInstrumentDetails; end
  class InNetBanking < PaymentInstrumentDetails; end
  class CnBankRedirect < PaymentInstrumentDetails; end
  class Upi < PaymentInstrumentDetails; end
  class Unknown < PaymentInstrumentDetails; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



1139
1140
1141
# File 'gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb', line 1139

def unknown
  @unknown
end

#upi ⇒ Types::Upi

The details of a Unified Payments Interface (UPI) instrument.

Returns:



1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
# File 'gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb', line 1139

class PaymentInstrumentDetails < Struct.new(
  :card,
  :us_ach_bank_account,
  :sepa_bank_account,
  :uk_bacs_bank_account,
  :in_net_banking,
  :cn_bank_redirect,
  :upi,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Card < PaymentInstrumentDetails; end
  class UsAchBankAccount < PaymentInstrumentDetails; end
  class SepaBankAccount < PaymentInstrumentDetails; end
  class UkBacsBankAccount < PaymentInstrumentDetails; end
  class InNetBanking < PaymentInstrumentDetails; end
  class CnBankRedirect < PaymentInstrumentDetails; end
  class Upi < PaymentInstrumentDetails; end
  class Unknown < PaymentInstrumentDetails; end
end

#us_ach_bank_account ⇒ Types::UsAchBankAccount

The details of a bank account that is debited over Automated Clearing House (ACH).



1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
# File 'gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb', line 1139

class PaymentInstrumentDetails < Struct.new(
  :card,
  :us_ach_bank_account,
  :sepa_bank_account,
  :uk_bacs_bank_account,
  :in_net_banking,
  :cn_bank_redirect,
  :upi,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Card < PaymentInstrumentDetails; end
  class UsAchBankAccount < PaymentInstrumentDetails; end
  class SepaBankAccount < PaymentInstrumentDetails; end
  class UkBacsBankAccount < PaymentInstrumentDetails; end
  class InNetBanking < PaymentInstrumentDetails; end
  class CnBankRedirect < PaymentInstrumentDetails; end
  class Upi < PaymentInstrumentDetails; end
  class Unknown < PaymentInstrumentDetails; end
end