public class PriceUpdateParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
PriceUpdateParams.Builder |
static class |
PriceUpdateParams.Recurring |
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static PriceUpdateParams.Builder |
builder() |
java.lang.Boolean |
getActive()
Whether the price can be used for new purchases.
|
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.lang.Object |
getLookupKey()
A lookup key used to retrieve prices dynamically from a static string.
|
java.lang.Object |
getMetadata()
Set of key-value pairs that you can attach
to an object.
|
java.lang.Object |
getNickname()
A brief description of the price, hidden from customers.
|
java.lang.Object |
getRecurring()
The recurring components of a price such as
interval and usage_type . |
java.lang.Boolean |
getTransferLookupKey()
If set to true, will atomically remove the lookup key from the existing price, and assign it to
this price.
|
toMap
public static PriceUpdateParams.Builder builder()
public java.lang.Boolean getActive()
true
.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.lang.Object getLookupKey()
public java.lang.Object getMetadata()
metadata
.public java.lang.Object getNickname()
public java.lang.Object getRecurring()
interval
and usage_type
.public java.lang.Boolean getTransferLookupKey()