public class ChargeUpdateParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
ChargeUpdateParams.Builder |
static class |
ChargeUpdateParams.FraudDetails |
static class |
ChargeUpdateParams.Shipping |
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static ChargeUpdateParams.Builder |
builder() |
java.lang.Object |
getCustomer()
The ID of an existing customer that will be associated with this request.
|
java.lang.Object |
getDescription()
An arbitrary string which you can attach to a charge object.
|
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.
|
ChargeUpdateParams.FraudDetails |
getFraudDetails()
A set of key-value pairs you can attach to a charge giving information about its riskiness.
|
java.lang.Object |
getMetadata()
Set of key-value pairs that you can attach to an object.
|
java.lang.Object |
getReceiptEmail()
This is the email address that the receipt for this charge will be sent to.
|
ChargeUpdateParams.Shipping |
getShipping()
Shipping information for the charge.
|
java.lang.Object |
getTransferGroup()
A string that identifies this transaction as part of a group.
|
toMap
public static ChargeUpdateParams.Builder builder()
public java.lang.Object getCustomer()
public java.lang.Object getDescription()
description
of the charge(s) that
they are describing.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 ChargeUpdateParams.FraudDetails getFraudDetails()
user_report
key with a value of fraudulent
. If you believe a charge is safe, include a user_report
key with a value of
safe
. Stripe will use the information you send to improve our fraud detection
algorithms.public java.lang.Object getMetadata()
metadata
.public java.lang.Object getReceiptEmail()
public ChargeUpdateParams.Shipping getShipping()
public java.lang.Object getTransferGroup()
transfer_group
may only
be provided if it has not been set. See the Connect
documentation for details.