public static class StoredPaymentSource.Builder extends Object
StoredPaymentSource.| Constructor and Description |
|---|
Builder()
Initialization constructor.
|
Builder(PaymentInitiator paymentInitiator,
StoredPaymentSourcePaymentType paymentType)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
StoredPaymentSource |
build()
Builds a new
StoredPaymentSource object using the set fields. |
StoredPaymentSource.Builder |
paymentInitiator(PaymentInitiator paymentInitiator)
Setter for paymentInitiator.
|
StoredPaymentSource.Builder |
paymentType(StoredPaymentSourcePaymentType paymentType)
Setter for paymentType.
|
StoredPaymentSource.Builder |
previousNetworkTransactionReference(NetworkTransactionReference previousNetworkTransactionReference)
Setter for previousNetworkTransactionReference.
|
StoredPaymentSource.Builder |
usage(StoredPaymentSourceUsageType usage)
Setter for usage.
|
public Builder()
public Builder(PaymentInitiator paymentInitiator, StoredPaymentSourcePaymentType paymentType)
paymentInitiator - PaymentInitiator value for paymentInitiator.paymentType - StoredPaymentSourcePaymentType value for paymentType.public StoredPaymentSource.Builder paymentInitiator(PaymentInitiator paymentInitiator)
paymentInitiator - PaymentInitiator value for paymentInitiator.public StoredPaymentSource.Builder paymentType(StoredPaymentSourcePaymentType paymentType)
paymentType - StoredPaymentSourcePaymentType value for paymentType.public StoredPaymentSource.Builder usage(StoredPaymentSourceUsageType usage)
usage - StoredPaymentSourceUsageType value for usage.public StoredPaymentSource.Builder previousNetworkTransactionReference(NetworkTransactionReference previousNetworkTransactionReference)
previousNetworkTransactionReference - NetworkTransactionReference value for
previousNetworkTransactionReference.public StoredPaymentSource build()
StoredPaymentSource object using the set fields.StoredPaymentSourceCopyright © 2025. All rights reserved.