Package com.stripe.param.checkout
Class SessionUpdateParams
java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.checkout.SessionUpdateParams
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
State, county, province, or region.static class
A positive float larger than 0, and smaller or equal to 100, that represents the discount the coupon will apply (required ifamount_off
is not passed).static class
The number of intervals between subscription billings.static class
Specifies whether the rate is considered inclusive of taxes or exclusive of taxes.Nested classes/interfaces inherited from class com.stripe.net.ApiRequestParams
ApiRequestParams.EnumParam
-
Field Summary
Fields inherited from class com.stripe.net.ApiRequestParams
EXTRA_PARAMS_KEY
-
Method Summary
Modifier and TypeMethodDescriptionstatic SessionUpdateParams.Builder
builder()
protected boolean
boolean
Information about the customer collected within the Checkout Session.List of coupons and promotion codes attached to the Checkout Session.Specifies which fields in the response should be expanded.Map of extra parameters for custom features not available in this client library.A list of items the customer is purchasing.Set of key-value pairs that you can attach to an object.The shipping rate options to apply to this Session.A subset of parameters to be passed to subscription creation for Checkout Sessions insubscription
mode.int
hashCode()
Methods inherited from class com.stripe.net.ApiRequestParams
paramsToMap, toMap
-
Method Details
-
builder
-
getCollectedInformation
Information about the customer collected within the Checkout Session. Can only be set when updatingembedded
orcustom
sessions. -
getDiscounts
List of coupons and promotion codes attached to the Checkout Session. -
getExpand
Specifies which fields in the response should be expanded. -
getExtraParams
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@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. -
getLineItems
A list of items the customer is purchasing.When updating line items, you must retransmit the entire array of line items.
To retain an existing line item, specify its
id
.To update an existing line item, specify its
id
along with the new values of the fields to update.To add a new line item, specify one of
price
orprice_data
andquantity
.To remove an existing line item, omit the line item's ID from the retransmitted array.
To reorder a line item, specify it at the desired position in the retransmitted array.
-
getMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value tometadata
. -
getShippingOptions
The shipping rate options to apply to this Session. Up to a maximum of 5. -
getSubscriptionData
A subset of parameters to be passed to subscription creation for Checkout Sessions insubscription
mode. -
equals
-
canEqual
-
hashCode
public int hashCode()
-