public class Dispute extends ApiResource implements HasId
ApiResource.RequestMethodCHARSET, GSONPRETTY_PRINT_GSON| Constructor and Description |
|---|
Dispute() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
static Dispute |
create(DisputeCreateParams params)
Creates an Issuing
Dispute object. |
static Dispute |
create(DisputeCreateParams params,
RequestOptions options)
Creates an Issuing
Dispute object. |
static Dispute |
create(java.util.Map<java.lang.String,java.lang.Object> params)
Creates an Issuing
Dispute object. |
static Dispute |
create(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Creates an Issuing
Dispute object. |
boolean |
equals(java.lang.Object o) |
java.util.List<BalanceTransaction> |
getBalanceTransactions()
List of balance transactions associated with this dispute.
|
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 |
getTransaction()
Get ID of expandable
transaction object. |
Transaction |
getTransactionObject()
Get expanded
transaction. |
int |
hashCode() |
static DisputeCollection |
list(DisputeListParams params)
Returns a list of Issuing
Dispute objects. |
static DisputeCollection |
list(DisputeListParams params,
RequestOptions options)
Returns a list of Issuing
Dispute objects. |
static DisputeCollection |
list(java.util.Map<java.lang.String,java.lang.Object> params)
Returns a list of Issuing
Dispute objects. |
static DisputeCollection |
list(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Returns a list of Issuing
Dispute objects. |
static Dispute |
retrieve(java.lang.String dispute)
Retrieves an Issuing
Dispute object. |
static Dispute |
retrieve(java.lang.String dispute,
DisputeRetrieveParams params,
RequestOptions options)
Retrieves an Issuing
Dispute object. |
static Dispute |
retrieve(java.lang.String dispute,
java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Retrieves an Issuing
Dispute object. |
static Dispute |
retrieve(java.lang.String dispute,
RequestOptions options)
Retrieves an Issuing
Dispute object. |
void |
setBalanceTransactions(java.util.List<BalanceTransaction> balanceTransactions)
List of balance transactions associated with this dispute.
|
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 |
setTransaction(java.lang.String id) |
void |
setTransactionObject(Transaction expandableObject) |
Dispute |
update(DisputeUpdateParams params)
Updates the specified Issuing
Dispute object by setting the values of the
parameters passed. |
Dispute |
update(DisputeUpdateParams params,
RequestOptions options)
Updates the specified Issuing
Dispute object by setting the values of the
parameters passed. |
Dispute |
update(java.util.Map<java.lang.String,java.lang.Object> params)
Updates the specified Issuing
Dispute object by setting the values of the
parameters passed. |
Dispute |
update(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Updates the specified Issuing
Dispute object by setting the values of the
parameters passed. |
checkNullTypedParams, classUrl, classUrl, instanceUrl, instanceUrl, request, request, requestCollection, requestCollection, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeIdequals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringpublic java.lang.String getTransaction()
transaction object.public void setTransaction(java.lang.String id)
public Transaction getTransactionObject()
transaction.public void setTransactionObject(Transaction expandableObject)
public static DisputeCollection list(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
Dispute objects. The objects are sorted in descending
order by creation date, with the most recently created object appearing first.StripeExceptionpublic static DisputeCollection list(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
Dispute objects. The objects are sorted in descending
order by creation date, with the most recently created object appearing first.StripeExceptionpublic static DisputeCollection list(DisputeListParams params) throws StripeException
Dispute objects. The objects are sorted in descending
order by creation date, with the most recently created object appearing first.StripeExceptionpublic static DisputeCollection list(DisputeListParams params, RequestOptions options) throws StripeException
Dispute objects. The objects are sorted in descending
order by creation date, with the most recently created object appearing first.StripeExceptionpublic static Dispute create(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
Dispute object.StripeExceptionpublic static Dispute create(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
Dispute object.StripeExceptionpublic static Dispute create(DisputeCreateParams params) throws StripeException
Dispute object.StripeExceptionpublic static Dispute create(DisputeCreateParams params, RequestOptions options) throws StripeException
Dispute object.StripeExceptionpublic Dispute update(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
Dispute object by setting the values of the
parameters passed. Any parameters not provided will be left unchanged.StripeExceptionpublic Dispute update(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
Dispute object by setting the values of the
parameters passed. Any parameters not provided will be left unchanged.StripeExceptionpublic Dispute update(DisputeUpdateParams params) throws StripeException
Dispute object by setting the values of the
parameters passed. Any parameters not provided will be left unchanged.StripeExceptionpublic Dispute update(DisputeUpdateParams params, RequestOptions options) throws StripeException
Dispute object by setting the values of the
parameters passed. Any parameters not provided will be left unchanged.StripeExceptionpublic static Dispute retrieve(java.lang.String dispute) throws StripeException
Dispute object.StripeExceptionpublic static Dispute retrieve(java.lang.String dispute, RequestOptions options) throws StripeException
Dispute object.StripeExceptionpublic static Dispute retrieve(java.lang.String dispute, java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
Dispute object.StripeExceptionpublic static Dispute retrieve(java.lang.String dispute, DisputeRetrieveParams params, RequestOptions options) throws StripeException
Dispute object.StripeExceptionpublic java.util.List<BalanceTransaction> getBalanceTransactions()
public java.lang.Boolean getLivemode()
true if the object exists in live mode or the value false if the
object exists in test mode.public java.lang.String getObject()
Equal to issuing.dispute.
public void setBalanceTransactions(java.util.List<BalanceTransaction> balanceTransactions)
public void setId(java.lang.String id)
public void setLivemode(java.lang.Boolean livemode)
true if the object exists in live mode or the value false if the
object exists in test mode.public void setObject(java.lang.String object)
Equal to issuing.dispute.
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Object