Package com.stripe.param
Class OrderSubmitParams
java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.OrderSubmitParams
-
Nested Class Summary
Nested ClassesNested 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 OrderSubmitParams.Builder
builder()
Specifies which fields in the response should be expanded.Required.expected_total
should always be set to the order'samount_total
field.Map of extra parameters for custom features not available in this client library.Methods inherited from class com.stripe.net.ApiRequestParams
paramsToMap, toMap
-
Method Details
-
builder
-
getExpand
Specifies which fields in the response should be expanded. -
getExpectedTotal
Required.expected_total
should always be set to the order'samount_total
field. If they don't match, submitting the order will fail. This helps detect race conditions where something else concurrently modifies the order. -
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.
-