public class SourceUpdateParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
SourceUpdateParams.Builder |
static class |
SourceUpdateParams.Mandate |
static class |
SourceUpdateParams.Owner |
static class |
SourceUpdateParams.SourceOrder
State, county, province, or region.
|
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static SourceUpdateParams.Builder |
builder() |
java.lang.Long |
getAmount()
Amount associated with the source.
|
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.
|
SourceUpdateParams.Mandate |
getMandate()
Information about a mandate possibility attached to a source object (generally for bank debits)
as well as its acceptance status.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata()
Set of key-value pairs that you can attach to an object.
|
SourceUpdateParams.Owner |
getOwner()
Information about the owner of the payment instrument that may be used or required by
particular source types.
|
SourceUpdateParams.SourceOrder |
getSourceOrder()
Information about the items and shipping associated with the source.
|
toMap
public static SourceUpdateParams.Builder builder()
public java.lang.Long getAmount()
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 SourceUpdateParams.Mandate getMandate()
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
metadata
.public SourceUpdateParams.Owner getOwner()
public SourceUpdateParams.SourceOrder getSourceOrder()