Package | Description |
---|---|
io.sphere.sdk.payments.commands |
Provides types to change the state of payments.
|
Modifier and Type | Method and Description |
---|---|
static PaymentUpdateCommand |
PaymentUpdateCommand.of(Versioned<Payment> versioned,
List<? extends UpdateAction<Payment>> updateActions)
Creates a command to update a Payment selected by its ID using several update actions.
|
static PaymentUpdateCommand |
PaymentUpdateCommand.of(Versioned<Payment> versioned,
UpdateAction<Payment> updateAction,
UpdateAction<Payment>... updateActions)
Creates a command to update a Payment selected by its ID using one update action.
|
static PaymentUpdateCommand |
PaymentUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<Payment>> updateActions)
Creates a command to update a Payment selected by its key using several update actions.
|
static PaymentUpdateCommand |
PaymentUpdateCommand.ofKey(String key,
Long version,
UpdateAction<Payment> updateAction)
Creates a command to update a Payment selected by its key using one update action.
|