Package | Description |
---|---|
io.sphere.sdk.payments |
Provides model classes and builders for payments.
|
Modifier and Type | Method and Description |
---|---|
TransactionDraftBuilder |
TransactionDraftBuilder.amount(javax.money.MonetaryAmount amount)
Sets the
amount property of this builder. |
TransactionDraftBuilder |
TransactionDraftBuilder.custom(CustomFields custom)
Sets the
custom property of this builder. |
TransactionDraftBuilder |
TransactionDraftBuilder.interactionId(String interactionId)
Sets the
interactionId property of this builder. |
static TransactionDraftBuilder |
TransactionDraftBuilder.of(TransactionDraft template)
Creates a new object initialized with the fields of the template parameter.
|
static TransactionDraftBuilder |
TransactionDraftBuilder.of(TransactionType type,
javax.money.MonetaryAmount amount)
Creates a new object initialized with the given values.
|
static TransactionDraftBuilder |
TransactionDraftBuilder.of(TransactionType type,
javax.money.MonetaryAmount amount,
ZonedDateTime timestamp)
Creates a new object initialized with the given values.
|
TransactionDraftBuilder |
TransactionDraftBuilder.state(TransactionState state)
Sets the
state property of this builder. |
TransactionDraftBuilder |
TransactionDraftBuilder.timestamp(ZonedDateTime timestamp)
Sets the
timestamp property of this builder. |
TransactionDraftBuilder |
TransactionDraftBuilder.type(TransactionType type)
Sets the
type property of this builder. |