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()
A [Token](https://stripe.com/docs/api#tokens)'s or a
[Source](https://stripe.com/docs/api#sources)'s ID, as returned by
[Elements](https://stripe.com/docs/elements).
|
toMap
public static OrderPayParams.Builder builder()
public java.lang.Long getApplicationFee()
public java.lang.String getCustomer()
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()
public java.lang.String getSource()