public class PaymentIntentCancelParams extends ApiRequestParams
Nested Class SummaryModifier and TypeClassDescription
Method SummaryModifier and TypeMethodDescription
builder()Reason for canceling this PaymentIntent.Specifies which fields in the response should be expanded.Map of extra parameters for custom features not available in this client library.
builderpublic static PaymentIntentCancelParams.Builder builder()
getCancellationReasonpublic PaymentIntentCancelParams.CancellationReason getCancellationReason()Reason for canceling this PaymentIntent. Possible values are
getExpandSpecifies which fields in the response should be expanded.
getExtraParamsMap of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's
@SerializedNamevalue. 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.