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 classRequired. Type of the account referenced in the request.static classState, county, province, or region.static classA positive float larger than 0, and smaller or equal to 100, that represents the discount the coupon will apply (required ifamount_offis not passed).static classRequired. Type of the account referenced in the request.static classThe number of intervals between subscription billings.static classSpecifies 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.Builderbuilder()protected booleanbooleanSettings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions.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.Generate a post-purchase Invoice for one-time payments.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 insubscriptionmode.inthashCode()Methods inherited from class com.stripe.net.ApiRequestParams
paramsToMap, toMap
-
Method Details
-
builder
-
getAutomaticTax
Settings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions. -
getCollectedInformation
Information about the customer collected within the Checkout Session. Can only be set when updatingembeddedorcustomsessions. -
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@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. -
getInvoiceCreation
Generate a post-purchase Invoice for one-time payments. -
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. -
getSubscriptionData
A subset of parameters to be passed to subscription creation for Checkout Sessions insubscriptionmode. -
equals
-
canEqual
-
hashCode
public int hashCode()
-