public class ValueListItem extends ApiResource implements HasId
ApiResource.RequestMethod, ApiResource.RequestType
CHARSET, GSON
PRETTY_PRINT_GSON
Constructor and Description |
---|
ValueListItem() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
static ValueListItem |
create(java.util.Map<java.lang.String,java.lang.Object> params)
Creates a new
ValueListItem object, which is added to the specified parent value
list. |
static ValueListItem |
create(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Creates a new
ValueListItem object, which is added to the specified parent value
list. |
static ValueListItem |
create(ValueListItemCreateParams params)
Creates a new
ValueListItem object, which is added to the specified parent value
list. |
static ValueListItem |
create(ValueListItemCreateParams params,
RequestOptions options)
Creates a new
ValueListItem object, which is added to the specified parent value
list. |
ValueListItem |
delete()
Deletes a
ValueListItem object, removing it from its parent value list. |
ValueListItem |
delete(java.util.Map<java.lang.String,java.lang.Object> params)
Deletes a
ValueListItem object, removing it from its parent value list. |
ValueListItem |
delete(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Deletes a
ValueListItem object, removing it from its parent value list. |
ValueListItem |
delete(RequestOptions options)
Deletes a
ValueListItem object, removing it from its parent value list. |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getCreated()
Time at which the object was created.
|
java.lang.String |
getCreatedBy()
The name or email address of the user who added this item to the value list.
|
java.lang.Boolean |
getDeleted()
Always true for a deleted object.
|
java.lang.String |
getId()
Unique identifier for the object.
|
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.lang.String |
getObject()
String representing the object's type.
|
java.lang.String |
getValue()
The value of the item.
|
java.lang.String |
getValueList()
The identifier of the value list this item belongs to.
|
int |
hashCode() |
static ValueListItemCollection |
list(java.util.Map<java.lang.String,java.lang.Object> params)
Returns a list of
ValueListItem objects. |
static ValueListItemCollection |
list(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Returns a list of
ValueListItem objects. |
static ValueListItemCollection |
list(ValueListItemListParams params)
Returns a list of
ValueListItem objects. |
static ValueListItemCollection |
list(ValueListItemListParams params,
RequestOptions options)
Returns a list of
ValueListItem objects. |
static ValueListItem |
retrieve(java.lang.String item)
Retrieves a
ValueListItem object. |
static ValueListItem |
retrieve(java.lang.String item,
java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Retrieves a
ValueListItem object. |
static ValueListItem |
retrieve(java.lang.String item,
RequestOptions options)
Retrieves a
ValueListItem object. |
static ValueListItem |
retrieve(java.lang.String item,
ValueListItemRetrieveParams params,
RequestOptions options)
Retrieves a
ValueListItem object. |
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 added this item to the 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 |
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 |
setObject(java.lang.String object)
String representing the object's type.
|
void |
setValue(java.lang.String value)
The value of the item.
|
void |
setValueList(java.lang.String valueList)
The identifier of the value list this item belongs to.
|
checkNullTypedParams, classUrl, classUrl, instanceUrl, instanceUrl, multipartRequest, request, request, requestCollection, requestCollection, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeId
equals, getLastResponse, setLastResponse, toJson, toString
public static ValueListItemCollection list(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
ValueListItem
objects. The objects are sorted in descending
order by creation date, with the most recently created object appearing first.StripeException
public static ValueListItemCollection list(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
ValueListItem
objects. The objects are sorted in descending
order by creation date, with the most recently created object appearing first.StripeException
public static ValueListItemCollection list(ValueListItemListParams params) throws StripeException
ValueListItem
objects. The objects are sorted in descending
order by creation date, with the most recently created object appearing first.StripeException
public static ValueListItemCollection list(ValueListItemListParams params, RequestOptions options) throws StripeException
ValueListItem
objects. The objects are sorted in descending
order by creation date, with the most recently created object appearing first.StripeException
public static ValueListItem retrieve(java.lang.String item) throws StripeException
ValueListItem
object.StripeException
public static ValueListItem retrieve(java.lang.String item, RequestOptions options) throws StripeException
ValueListItem
object.StripeException
public static ValueListItem retrieve(java.lang.String item, java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
ValueListItem
object.StripeException
public static ValueListItem retrieve(java.lang.String item, ValueListItemRetrieveParams params, RequestOptions options) throws StripeException
ValueListItem
object.StripeException
public static ValueListItem create(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
ValueListItem
object, which is added to the specified parent value
list.StripeException
public static ValueListItem create(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
ValueListItem
object, which is added to the specified parent value
list.StripeException
public static ValueListItem create(ValueListItemCreateParams params) throws StripeException
ValueListItem
object, which is added to the specified parent value
list.StripeException
public static ValueListItem create(ValueListItemCreateParams params, RequestOptions options) throws StripeException
ValueListItem
object, which is added to the specified parent value
list.StripeException
public ValueListItem delete() throws StripeException
ValueListItem
object, removing it from its parent value list.StripeException
public ValueListItem delete(RequestOptions options) throws StripeException
ValueListItem
object, removing it from its parent value list.StripeException
public ValueListItem delete(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
ValueListItem
object, removing it from its parent value list.StripeException
public ValueListItem delete(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
ValueListItem
object, removing it from its parent value list.StripeException
public java.lang.Long getCreated()
public java.lang.String getCreatedBy()
public java.lang.Boolean getDeleted()
public java.lang.Boolean getLivemode()
public java.lang.String getObject()
public java.lang.String getValue()
public java.lang.String getValueList()
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 setLivemode(java.lang.Boolean livemode)
public void setObject(java.lang.String object)
public void setValue(java.lang.String value)
public void setValueList(java.lang.String valueList)
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