Package | Description |
---|---|
io.sphere.sdk.payments |
Provides model classes and builders for payments.
|
Modifier and Type | Method and Description |
---|---|
PaymentDraftBuilder |
PaymentDraftBuilder.amountAuthorized(javax.money.MonetaryAmount amountAuthorized)
Deprecated.
This method will be removed with the next major SDK update.
|
PaymentDraftBuilder |
PaymentDraftBuilder.amountPaid(javax.money.MonetaryAmount amountPaid)
Deprecated.
This method will be removed with the next major SDK update.
|
PaymentDraftBuilder |
PaymentDraftBuilder.amountPlanned(javax.money.MonetaryAmount amountPlanned)
Sets the
amountPlanned property of this builder. |
PaymentDraftBuilder |
PaymentDraftBuilder.amountRefunded(javax.money.MonetaryAmount amountRefunded)
Deprecated.
This method will be removed with the next major SDK update.
|
PaymentDraftBuilder |
PaymentDraftBuilder.anonymousId(String anonymousId)
Sets the
anonymousId property of this builder. |
PaymentDraftBuilder |
PaymentDraftBuilder.authorizedUntil(ZonedDateTime authorizedUntil)
Deprecated.
This method will be removed with the next major SDK update.
|
PaymentDraftBuilder |
PaymentDraftBuilder.custom(CustomFieldsDraft custom)
Sets the
custom property of this builder. |
PaymentDraftBuilder |
PaymentDraftBuilder.customer(Referenceable<Customer> customer)
Sets the
customer property of this builder. |
PaymentDraftBuilder |
PaymentDraftBuilder.externalId(String externalId)
Deprecated.
This method will be removed with the next major SDK update.
|
PaymentDraftBuilder |
PaymentDraftBuilder.interfaceId(String interfaceId)
Sets the
interfaceId property of this builder. |
PaymentDraftBuilder |
PaymentDraftBuilder.interfaceInteractions(List<CustomFieldsDraft> interfaceInteractions)
Sets the
interfaceInteractions property of this builder. |
PaymentDraftBuilder |
PaymentDraftBuilder.key(String key)
Sets the
key property of this builder. |
PaymentDraftBuilder |
PaymentDraftDsl.newBuilder()
Creates a new builder with the values of this object.
|
static PaymentDraftBuilder |
PaymentDraftBuilder.of(javax.money.MonetaryAmount amountPlanned)
Creates a new object initialized with the given values.
|
static PaymentDraftBuilder |
PaymentDraftBuilder.of(PaymentDraft template)
Creates a new object initialized with the fields of the template parameter.
|
PaymentDraftBuilder |
PaymentDraftBuilder.paymentMethodInfo(PaymentMethodInfo paymentMethodInfo)
Sets the
paymentMethodInfo property of this builder. |
PaymentDraftBuilder |
PaymentDraftBuilder.paymentStatus(PaymentStatus paymentStatus)
Sets the
paymentStatus property of this builder. |
PaymentDraftBuilder |
PaymentDraftBuilder.plusInterfaceInteractions(CustomFieldsDraft interfaceInteractions)
Adds
interfaceInteractions parameter to the interfaceInteractions list property of this builder. |
PaymentDraftBuilder |
PaymentDraftBuilder.plusInterfaceInteractions(List<CustomFieldsDraft> interfaceInteractions)
Concatenate
interfaceInteractions parameter to the interfaceInteractions list property of this builder. |
PaymentDraftBuilder |
PaymentDraftBuilder.plusTransactions(List<TransactionDraft> transactions)
Concatenate
transactions parameter to the transactions list property of this builder. |
PaymentDraftBuilder |
PaymentDraftBuilder.plusTransactions(TransactionDraft transactions)
Adds
transactions parameter to the transactions list property of this builder. |
PaymentDraftBuilder |
PaymentDraftBuilder.transactions(List<TransactionDraft> transactions)
Sets the
transactions property of this builder. |