public class OrderPayParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
OrderPayParams.Builder |
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static OrderPayParams.Builder |
builder() |
java.lang.Long |
getApplicationFee()
A fee in %s that will be applied to the order and transferred to the application owner's Stripe
account.
|
java.lang.String |
getCustomer()
The ID of an existing customer that will be charged for this order.
|
java.lang.String |
getEmail()
The email address of the customer placing the order.
|
java.util.List<java.lang.String> |
getExpand()
Specifies which fields in the response should be expanded.
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtraParams()
Map of extra parameters for custom features not available in this client library.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata()
Set of key-value pairs that you can attach to an object.
|
java.lang.String |
getSource()
|
toMap
public static OrderPayParams.Builder builder()
public java.lang.Long getApplicationFee()
Stripe-Account
header in
order to take an application fee. For more information, see the application fees documentation.public java.lang.String getCustomer()
source
or customer
is required. Otherwise, the
specified customer will be charged instead of the one attached to the order.public java.lang.String getEmail()
public java.util.List<java.lang.String> getExpand()
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
@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.public java.util.Map<java.lang.String,java.lang.String> getMetadata()
metadata
.public java.lang.String getSource()