Package | Description |
---|---|
io.sphere.sdk.payments |
Provides model classes and builders for payments.
|
Modifier and Type | Method and Description |
---|---|
PaymentDraftDsl |
PaymentDraftBuilder.build()
Creates a new instance of
PaymentDraftDsl with the values of this builder. |
static PaymentDraftDsl |
PaymentDraftDsl.of(javax.money.MonetaryAmount amountPlanned)
Creates a new object initialized with the given values.
|
static PaymentDraftDsl |
PaymentDraftDsl.of(PaymentDraft template)
Creates a new object initialized with the fields of the template parameter.
|
PaymentDraftDsl |
PaymentDraftDsl.withAmountAuthorized(javax.money.MonetaryAmount amountAuthorized)
Deprecated.
This method will be removed with the next major SDK update.
|
PaymentDraftDsl |
PaymentDraftDsl.withAmountPaid(javax.money.MonetaryAmount amountPaid)
Deprecated.
This method will be removed with the next major SDK update.
|
PaymentDraftDsl |
PaymentDraftDsl.withAmountPlanned(javax.money.MonetaryAmount amountPlanned) |
PaymentDraftDsl |
PaymentDraftDsl.withAmountRefunded(javax.money.MonetaryAmount amountRefunded)
Deprecated.
This method will be removed with the next major SDK update.
|
PaymentDraftDsl |
PaymentDraftDsl.withAnonymousId(String anonymousId) |
PaymentDraftDsl |
PaymentDraftDsl.withAuthorizedUntil(ZonedDateTime authorizedUntil)
Deprecated.
This method will be removed with the next major SDK update.
|
PaymentDraftDsl |
PaymentDraftDsl.withCustom(CustomFieldsDraft custom) |
PaymentDraftDsl |
PaymentDraftDsl.withCustomer(Referenceable<Customer> customer) |
PaymentDraftDsl |
PaymentDraftDsl.withExternalId(String externalId)
Deprecated.
This method will be removed with the next major SDK update.
|
PaymentDraftDsl |
PaymentDraftDsl.withInterfaceId(String interfaceId) |
PaymentDraftDsl |
PaymentDraftDsl.withInterfaceInteractions(List<CustomFieldsDraft> interfaceInteractions) |
PaymentDraftDsl |
PaymentDraftDsl.withKey(String key) |
PaymentDraftDsl |
PaymentDraftDsl.withPaymentMethodInfo(PaymentMethodInfo paymentMethodInfo) |
PaymentDraftDsl |
PaymentDraftDsl.withPaymentStatus(PaymentStatus paymentStatus) |
PaymentDraftDsl |
PaymentDraftDsl.withTransactions(List<TransactionDraft> transactions) |