Package | Description |
---|---|
io.sphere.sdk.payments |
Provides model classes and builders for payments.
|
io.sphere.sdk.payments.queries |
Provides types to retrieve the state of payments.
|
Modifier and Type | Method and Description |
---|---|
TransactionType |
TransactionDraft.getType() |
TransactionType |
Transaction.getType() |
TransactionType |
TransactionDraftBuilder.getType() |
static TransactionType |
TransactionType.ofSphereValue(String value) |
static TransactionType |
TransactionType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionType[] |
TransactionType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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.type(TransactionType type)
Sets the
type property of this builder. |
Modifier and Type | Method and Description |
---|---|
SphereEnumerationQueryModel<T,TransactionType> |
TransactionCollectionQueryModel.type() |