public class TaxId extends ApiResource implements HasId
Modifier and Type | Class and Description |
---|---|
static class |
TaxId.Verification |
ApiResource.RequestMethod, ApiResource.RequestType
CHARSET, GSON
PRETTY_PRINT_GSON
Constructor and Description |
---|
TaxId() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
TaxId |
delete()
Deletes an existing
TaxID object. |
TaxId |
delete(java.util.Map<java.lang.String,java.lang.Object> params)
Deletes an existing
TaxID object. |
TaxId |
delete(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Deletes an existing
TaxID object. |
TaxId |
delete(RequestOptions options)
Deletes an existing
TaxID object. |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getCountry()
Two-letter ISO code representing the country of the tax ID.
|
java.lang.Long |
getCreated()
Time at which the object was created.
|
java.lang.String |
getCustomer()
Get id of expandable `customer` object.
|
Customer |
getCustomerObject()
Get expanded `customer`.
|
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 |
getType()
Type of the tax ID, one of `au_abn`, `eu_vat`, `in_gst`, `no_vat`, `nz_gst`, or `unknown`.
|
java.lang.String |
getValue()
Value of the tax ID.
|
TaxId.Verification |
getVerification() |
int |
hashCode() |
void |
setCountry(java.lang.String country)
Two-letter ISO code representing the country of the tax ID.
|
void |
setCreated(java.lang.Long created)
Time at which the object was created.
|
void |
setCustomer(java.lang.String id) |
void |
setCustomerObject(Customer expandableObject) |
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 |
setType(java.lang.String type)
Type of the tax ID, one of `au_abn`, `eu_vat`, `in_gst`, `no_vat`, `nz_gst`, or `unknown`.
|
void |
setValue(java.lang.String value)
Value of the tax ID.
|
void |
setVerification(TaxId.Verification verification) |
checkNullTypedParams, classUrl, classUrl, instanceUrl, instanceUrl, multipartRequest, request, request, requestCollection, requestCollection, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeId
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
public java.lang.String getCustomer()
public void setCustomer(java.lang.String id)
public Customer getCustomerObject()
public void setCustomerObject(Customer expandableObject)
public TaxId delete() throws StripeException
TaxID
object.StripeException
public TaxId delete(RequestOptions options) throws StripeException
TaxID
object.StripeException
public TaxId delete(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
TaxID
object.StripeException
public TaxId delete(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
TaxID
object.StripeException
public java.lang.String getCountry()
public java.lang.Long getCreated()
public java.lang.Boolean getDeleted()
public java.lang.Boolean getLivemode()
public java.lang.String getObject()
public java.lang.String getType()
public java.lang.String getValue()
public TaxId.Verification getVerification()
public void setCountry(java.lang.String country)
public void setCreated(java.lang.Long created)
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 setType(java.lang.String type)
public void setValue(java.lang.String value)
public void setVerification(TaxId.Verification verification)
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