public class ValueList extends ApiResource implements HasId, MetadataStore<ValueList>
ApiResource.RequestMethod, ApiResource.RequestType
CHARSET, GSON
PRETTY_PRINT_GSON
Constructor and Description |
---|
ValueList() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
static ValueList |
create(java.util.Map<java.lang.String,java.lang.Object> params)
Creates a new
ValueList object, which can then be referenced in rules. |
static ValueList |
create(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Creates a new
ValueList object, which can then be referenced in rules. |
static ValueList |
create(ValueListCreateParams params)
Creates a new
ValueList object, which can then be referenced in rules. |
static ValueList |
create(ValueListCreateParams params,
RequestOptions options)
Creates a new
ValueList object, which can then be referenced in rules. |
ValueList |
delete()
Deletes a
ValueList object, also deleting any items contained within the value
list. |
ValueList |
delete(java.util.Map<java.lang.String,java.lang.Object> params)
Deletes a
ValueList object, also deleting any items contained within the value
list. |
ValueList |
delete(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Deletes a
ValueList object, also deleting any items contained within the value
list. |
ValueList |
delete(RequestOptions options)
Deletes a
ValueList object, also deleting any items contained within the value
list. |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAlias()
The name of the value list for use in rules.
|
java.lang.Long |
getCreated()
Time at which the object was created.
|
java.lang.String |
getCreatedBy()
The name or email address of the user who created this value list.
|
java.lang.Boolean |
getDeleted()
Always true for a deleted object.
|
java.lang.String |
getId()
Unique identifier for the object.
|
java.lang.String |
getItemType()
The type of items in the value list.
|
ValueListItemCollection |
getListItems()
List of items contained within this value list.
|
java.lang.Boolean |
getLivemode()
Has the value `true` if the object exists in live mode or the value `false` if the object
exists in test mode.
|
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 |
getName()
The name of the value list.
|
java.lang.String |
getObject()
String representing the object's type.
|
int |
hashCode() |
static ValueListCollection |
list(java.util.Map<java.lang.String,java.lang.Object> params)
Returns a list of
ValueList objects. |
static ValueListCollection |
list(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Returns a list of
ValueList objects. |
static ValueListCollection |
list(ValueListListParams params)
Returns a list of
ValueList objects. |
static ValueListCollection |
list(ValueListListParams params,
RequestOptions options)
Returns a list of
ValueList objects. |
static ValueList |
retrieve(java.lang.String valueList)
Retrieves a
ValueList object. |
static ValueList |
retrieve(java.lang.String valueList,
java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Retrieves a
ValueList object. |
static ValueList |
retrieve(java.lang.String valueList,
RequestOptions options)
Retrieves a
ValueList object. |
static ValueList |
retrieve(java.lang.String valueList,
ValueListRetrieveParams params,
RequestOptions options)
Retrieves a
ValueList object. |
void |
setAlias(java.lang.String alias)
The name of the value list for use in rules.
|
void |
setCreated(java.lang.Long created)
Time at which the object was created.
|
void |
setCreatedBy(java.lang.String createdBy)
The name or email address of the user who created this value list.
|
void |
setDeleted(java.lang.Boolean deleted)
Always true for a deleted object.
|
void |
setId(java.lang.String id)
Unique identifier for the object.
|
void |
setItemType(java.lang.String itemType)
The type of items in the value list.
|
void |
setListItems(ValueListItemCollection listItems)
List of items contained within this value list.
|
void |
setLivemode(java.lang.Boolean livemode)
Has the value `true` if the object exists in live mode or the value `false` if the object
exists in test mode.
|
void |
setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
Set of key-value pairs that you can attach to an object.
|
void |
setName(java.lang.String name)
The name of the value list.
|
void |
setObject(java.lang.String object)
String representing the object's type.
|
ValueList |
update(java.util.Map<java.lang.String,java.lang.Object> params)
Updates a
ValueList object by setting the values of the parameters passed. |
ValueList |
update(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Updates a
ValueList object by setting the values of the parameters passed. |
ValueList |
update(ValueListUpdateParams params)
Updates a
ValueList object by setting the values of the parameters passed. |
ValueList |
update(ValueListUpdateParams params,
RequestOptions options)
Updates a
ValueList object by setting the values of the parameters passed. |
checkNullTypedParams, classUrl, classUrl, instanceUrl, instanceUrl, multipartRequest, request, request, requestCollection, requestCollection, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeId
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
public static ValueListCollection list(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
ValueList
objects. The objects are sorted in descending order by
creation date, with the most recently created object appearing first.StripeException
public static ValueListCollection list(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
ValueList
objects. The objects are sorted in descending order by
creation date, with the most recently created object appearing first.StripeException
public static ValueListCollection list(ValueListListParams params) throws StripeException
ValueList
objects. The objects are sorted in descending order by
creation date, with the most recently created object appearing first.StripeException
public static ValueListCollection list(ValueListListParams params, RequestOptions options) throws StripeException
ValueList
objects. The objects are sorted in descending order by
creation date, with the most recently created object appearing first.StripeException
public static ValueList retrieve(java.lang.String valueList) throws StripeException
ValueList
object.StripeException
public static ValueList retrieve(java.lang.String valueList, RequestOptions options) throws StripeException
ValueList
object.StripeException
public static ValueList retrieve(java.lang.String valueList, java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
ValueList
object.StripeException
public static ValueList retrieve(java.lang.String valueList, ValueListRetrieveParams params, RequestOptions options) throws StripeException
ValueList
object.StripeException
public static ValueList create(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
ValueList
object, which can then be referenced in rules.StripeException
public static ValueList create(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
ValueList
object, which can then be referenced in rules.StripeException
public static ValueList create(ValueListCreateParams params) throws StripeException
ValueList
object, which can then be referenced in rules.StripeException
public static ValueList create(ValueListCreateParams params, RequestOptions options) throws StripeException
ValueList
object, which can then be referenced in rules.StripeException
public ValueList update(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
ValueList
object by setting the values of the parameters passed. Any
parameters not provided will be left unchanged. Note that item_type
is immutable.update
in interface MetadataStore<ValueList>
StripeException
public ValueList update(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
ValueList
object by setting the values of the parameters passed. Any
parameters not provided will be left unchanged. Note that item_type
is immutable.update
in interface MetadataStore<ValueList>
StripeException
public ValueList update(ValueListUpdateParams params) throws StripeException
ValueList
object by setting the values of the parameters passed. Any
parameters not provided will be left unchanged. Note that item_type
is immutable.StripeException
public ValueList update(ValueListUpdateParams params, RequestOptions options) throws StripeException
ValueList
object by setting the values of the parameters passed. Any
parameters not provided will be left unchanged. Note that item_type
is immutable.StripeException
public ValueList delete() throws StripeException
ValueList
object, also deleting any items contained within the value
list. To be deleted, a value list must not be referenced in any rules.StripeException
public ValueList delete(RequestOptions options) throws StripeException
ValueList
object, also deleting any items contained within the value
list. To be deleted, a value list must not be referenced in any rules.StripeException
public ValueList delete(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
ValueList
object, also deleting any items contained within the value
list. To be deleted, a value list must not be referenced in any rules.StripeException
public ValueList delete(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
ValueList
object, also deleting any items contained within the value
list. To be deleted, a value list must not be referenced in any rules.StripeException
public java.lang.String getAlias()
public java.lang.Long getCreated()
public java.lang.String getCreatedBy()
public java.lang.Boolean getDeleted()
public java.lang.String getItemType()
public ValueListItemCollection getListItems()
public java.lang.Boolean getLivemode()
public java.lang.String getName()
public java.lang.String getObject()
public void setAlias(java.lang.String alias)
public void setCreated(java.lang.Long created)
public void setCreatedBy(java.lang.String createdBy)
public void setDeleted(java.lang.Boolean deleted)
public void setId(java.lang.String id)
public void setItemType(java.lang.String itemType)
public void setListItems(ValueListItemCollection listItems)
public void setLivemode(java.lang.Boolean livemode)
public void setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
public void setName(java.lang.String name)
public void setObject(java.lang.String object)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getId()
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
getMetadata
in interface MetadataStore<ValueList>