public class PaymentIntentCancelParams extends ApiRequestParams
| Modifier and Type | Class and Description |
|---|---|
static class |
PaymentIntentCancelParams.Builder |
static class |
PaymentIntentCancelParams.CancellationReason |
ApiRequestParams.EnumParamEXTRA_PARAMS_KEY| Modifier and Type | Method and Description |
|---|---|
static PaymentIntentCancelParams.Builder |
builder() |
PaymentIntentCancelParams.CancellationReason |
getCancellationReason()
Reason for canceling this PaymentIntent.
|
java.util.List<java.lang.String> |
getExpand()
Specifies which fields in the response should be expanded.
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtraParams()
Map of extra parameters for custom features not available in this client library.
|
toMappublic static PaymentIntentCancelParams.Builder builder()
public PaymentIntentCancelParams.CancellationReason getCancellationReason()
duplicate, fraudulent, requested_by_customer, or abandonedpublic java.util.List<java.lang.String> getExpand()
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
@SerializedName value. Instead, each
key/value pair is serialized as if the key is a root-level field (serialized) name in this
param object. Effectively, this map is flattened to its parent instance.