Interface PaymentInstrumentDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PaymentInstrumentDetails.Builder,,PaymentInstrumentDetails> SdkBuilder<PaymentInstrumentDetails.Builder,,PaymentInstrumentDetails> SdkPojo
- Enclosing class:
PaymentInstrumentDetails
-
Method Summary
Modifier and TypeMethodDescriptiondefault PaymentInstrumentDetails.Buildercard(Consumer<Card.Builder> card) The details of a card payment instrument.The details of a card payment instrument.default PaymentInstrumentDetails.BuildercnBankRedirect(Consumer<CnBankRedirect.Builder> cnBankRedirect) The details of a China bank redirect instrument.cnBankRedirect(CnBankRedirect cnBankRedirect) The details of a China bank redirect instrument.default PaymentInstrumentDetails.BuilderinNetBanking(Consumer<InNetBanking.Builder> inNetBanking) The details of an India net banking instrument.inNetBanking(InNetBanking inNetBanking) The details of an India net banking instrument.default PaymentInstrumentDetails.BuildersepaBankAccount(Consumer<SepaBankAccount.Builder> sepaBankAccount) The details of a bank account that is debited over Single Euro Payments Area (SEPA) Direct Debit.sepaBankAccount(SepaBankAccount sepaBankAccount) The details of a bank account that is debited over Single Euro Payments Area (SEPA) Direct Debit.default PaymentInstrumentDetails.BuilderukBacsBankAccount(Consumer<UkBacsBankAccount.Builder> ukBacsBankAccount) The details of a bank account that is debited over Bacs Direct Debit.ukBacsBankAccount(UkBacsBankAccount ukBacsBankAccount) The details of a bank account that is debited over Bacs Direct Debit.default PaymentInstrumentDetails.Builderupi(Consumer<Upi.Builder> upi) The details of a Unified Payments Interface (UPI) instrument.The details of a Unified Payments Interface (UPI) instrument.default PaymentInstrumentDetails.BuilderusAchBankAccount(Consumer<UsAchBankAccount.Builder> usAchBankAccount) The details of a bank account that is debited over Automated Clearing House (ACH).usAchBankAccount(UsAchBankAccount usAchBankAccount) The details of a bank account that is debited over Automated Clearing House (ACH).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
card
The details of a card payment instrument.
- Parameters:
card- The details of a card payment instrument.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
card
The details of a card payment instrument.
This is a convenience method that creates an instance of theCard.Builderavoiding the need to create one manually viaCard.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocard(Card).- Parameters:
card- a consumer that will call methods onCard.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
usAchBankAccount
The details of a bank account that is debited over Automated Clearing House (ACH).
- Parameters:
usAchBankAccount- The details of a bank account that is debited over Automated Clearing House (ACH).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usAchBankAccount
default PaymentInstrumentDetails.Builder usAchBankAccount(Consumer<UsAchBankAccount.Builder> usAchBankAccount) The details of a bank account that is debited over Automated Clearing House (ACH).
This is a convenience method that creates an instance of theUsAchBankAccount.Builderavoiding the need to create one manually viaUsAchBankAccount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tousAchBankAccount(UsAchBankAccount).- Parameters:
usAchBankAccount- a consumer that will call methods onUsAchBankAccount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sepaBankAccount
The details of a bank account that is debited over Single Euro Payments Area (SEPA) Direct Debit.
- Parameters:
sepaBankAccount- The details of a bank account that is debited over Single Euro Payments Area (SEPA) Direct Debit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sepaBankAccount
default PaymentInstrumentDetails.Builder sepaBankAccount(Consumer<SepaBankAccount.Builder> sepaBankAccount) The details of a bank account that is debited over Single Euro Payments Area (SEPA) Direct Debit.
This is a convenience method that creates an instance of theSepaBankAccount.Builderavoiding the need to create one manually viaSepaBankAccount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosepaBankAccount(SepaBankAccount).- Parameters:
sepaBankAccount- a consumer that will call methods onSepaBankAccount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ukBacsBankAccount
The details of a bank account that is debited over Bacs Direct Debit.
- Parameters:
ukBacsBankAccount- The details of a bank account that is debited over Bacs Direct Debit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ukBacsBankAccount
default PaymentInstrumentDetails.Builder ukBacsBankAccount(Consumer<UkBacsBankAccount.Builder> ukBacsBankAccount) The details of a bank account that is debited over Bacs Direct Debit.
This is a convenience method that creates an instance of theUkBacsBankAccount.Builderavoiding the need to create one manually viaUkBacsBankAccount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toukBacsBankAccount(UkBacsBankAccount).- Parameters:
ukBacsBankAccount- a consumer that will call methods onUkBacsBankAccount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inNetBanking
The details of an India net banking instrument.
- Parameters:
inNetBanking- The details of an India net banking instrument.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inNetBanking
The details of an India net banking instrument.
This is a convenience method that creates an instance of theInNetBanking.Builderavoiding the need to create one manually viaInNetBanking.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinNetBanking(InNetBanking).- Parameters:
inNetBanking- a consumer that will call methods onInNetBanking.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cnBankRedirect
The details of a China bank redirect instrument.
- Parameters:
cnBankRedirect- The details of a China bank redirect instrument.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cnBankRedirect
default PaymentInstrumentDetails.Builder cnBankRedirect(Consumer<CnBankRedirect.Builder> cnBankRedirect) The details of a China bank redirect instrument.
This is a convenience method that creates an instance of theCnBankRedirect.Builderavoiding the need to create one manually viaCnBankRedirect.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocnBankRedirect(CnBankRedirect).- Parameters:
cnBankRedirect- a consumer that will call methods onCnBankRedirect.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
upi
The details of a Unified Payments Interface (UPI) instrument.
- Parameters:
upi- The details of a Unified Payments Interface (UPI) instrument.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upi
The details of a Unified Payments Interface (UPI) instrument.
This is a convenience method that creates an instance of theUpi.Builderavoiding the need to create one manually viaUpi.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toupi(Upi).- Parameters:
upi- a consumer that will call methods onUpi.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-