Package | Description |
---|---|
io.sphere.sdk.payments.commands |
Provides types to change the state of payments.
|
Modifier and Type | Method and Description |
---|---|
static PaymentDeleteCommand |
PaymentDeleteCommand.of(Versioned<Payment> versioned)
Creates a command object to delete a
Payment by ID. |
static PaymentDeleteCommand |
PaymentDeleteCommand.of(Versioned<Payment> versioned,
boolean eraseData)
Creates a command object to delete a
Payment by ID. |
static PaymentDeleteCommand |
PaymentDeleteCommand.ofKey(String key,
Long version)
Creates a command object to delete a
Payment by its key. |
static PaymentDeleteCommand |
PaymentDeleteCommand.ofKey(String key,
Long version,
boolean eraseData)
Creates a command object to delete a
Payment by its key. |