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 classstatic classstatic classState, county, province, or region (ISO 3166-2).static classThe number of intervals between subscription billings.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.Builderbuilder()protected booleanbooleanInformation about the customer collected within 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.inthashCode()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 updatingembeddedorcustomsessions. -
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@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. -
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
idalong with the new values of the fields to update.To add a new line item, specify one of
priceorprice_dataandquantity.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. -
equals
-
canEqual
-
hashCode
public int hashCode()
-