Package com.stripe.model
Class TaxId
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.TaxId
- All Implemented Interfaces:
HasId
,StripeObjectInterface
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod
-
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
delete()
Deletes an existingTaxID
object.delete
(RequestOptions options) Deletes an existingTaxID
object.Deletes an existingTaxID
object.delete
(Map<String, Object> params, RequestOptions options) Deletes an existingTaxID
object.boolean
Two-letter ISO code representing the country of the tax ID.Time at which the object was created.Get ID of expandablecustomer
object.Get expandedcustomer
.Always true for a deleted object.getId()
Unique identifier for the object.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.String representing the object's type.getType()
Type of the tax ID, one ofae_trn
,au_abn
,au_arn
,bg_uic
,br_cnpj
,br_cpf
,ca_bn
,ca_gst_hst
,ca_pst_bc
,ca_pst_mb
,ca_pst_sk
,ca_qst
,ch_vat
,cl_tin
,es_cif
,eu_oss_vat
,eu_vat
,gb_vat
,ge_vat
,hk_br
,hu_tin
,id_npwp
,il_vat
,in_gst
,is_vat
,jp_cn
,jp_rn
,kr_brn
,li_uid
,mx_rfc
,my_frp
,my_itn
,my_sst
,no_vat
,nz_gst
,ru_inn
,ru_kpp
,sa_vat
,sg_gst
,sg_uen
,si_tin
,th_vat
,tw_vat
,ua_vat
,us_ein
, orza_vat
.getValue()
Value of the tax ID.Tax ID verification information.int
hashCode()
void
setCountry
(String country) Two-letter ISO code representing the country of the tax ID.void
setCreated
(Long created) Time at which the object was created.void
setCustomer
(String id) void
setCustomerObject
(Customer expandableObject) void
setDeleted
(Boolean deleted) Always true for a deleted object.void
Unique identifier for the object.void
setLivemode
(Boolean livemode) Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
String representing the object's type.void
Type of the tax ID, one ofae_trn
,au_abn
,au_arn
,bg_uic
,br_cnpj
,br_cpf
,ca_bn
,ca_gst_hst
,ca_pst_bc
,ca_pst_mb
,ca_pst_sk
,ca_qst
,ch_vat
,cl_tin
,es_cif
,eu_oss_vat
,eu_vat
,gb_vat
,ge_vat
,hk_br
,hu_tin
,id_npwp
,il_vat
,in_gst
,is_vat
,jp_cn
,jp_rn
,kr_brn
,li_uid
,mx_rfc
,my_frp
,my_itn
,my_sst
,no_vat
,nz_gst
,ru_inn
,ru_kpp
,sa_vat
,sg_gst
,sg_uen
,si_tin
,th_vat
,tw_vat
,ua_vat
,us_ein
, orza_vat
.void
Value of the tax ID.void
setVerification
(TaxId.Verification verification) Tax ID verification information.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, classUrl, classUrl, instanceUrl, instanceUrl, request, request, requestCollection, requestCollection, requestSearchResult, requestSearchResult, requestStream, requestStream, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeId
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
TaxId
public TaxId()
-
-
Method Details
-
getCustomer
Get ID of expandablecustomer
object. -
setCustomer
-
getCustomerObject
Get expandedcustomer
. -
setCustomerObject
-
delete
Deletes an existingTaxID
object.- Throws:
StripeException
-
delete
Deletes an existingTaxID
object.- Throws:
StripeException
-
delete
Deletes an existingTaxID
object.- Throws:
StripeException
-
delete
Deletes an existingTaxID
object.- Throws:
StripeException
-
getCountry
Two-letter ISO code representing the country of the tax ID. -
getCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
getDeleted
Always true for a deleted object. -
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
tax_id
. -
getType
Type of the tax ID, one ofae_trn
,au_abn
,au_arn
,bg_uic
,br_cnpj
,br_cpf
,ca_bn
,ca_gst_hst
,ca_pst_bc
,ca_pst_mb
,ca_pst_sk
,ca_qst
,ch_vat
,cl_tin
,es_cif
,eu_oss_vat
,eu_vat
,gb_vat
,ge_vat
,hk_br
,hu_tin
,id_npwp
,il_vat
,in_gst
,is_vat
,jp_cn
,jp_rn
,kr_brn
,li_uid
,mx_rfc
,my_frp
,my_itn
,my_sst
,no_vat
,nz_gst
,ru_inn
,ru_kpp
,sa_vat
,sg_gst
,sg_uen
,si_tin
,th_vat
,tw_vat
,ua_vat
,us_ein
, orza_vat
. Note that some legacy tax IDs have typeunknown
-
getValue
Value of the tax ID. -
getVerification
Tax ID verification information. -
setCountry
Two-letter ISO code representing the country of the tax ID. -
setCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
setDeleted
Always true for a deleted object. -
setId
Unique identifier for the object. -
setLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
tax_id
. -
setType
Type of the tax ID, one ofae_trn
,au_abn
,au_arn
,bg_uic
,br_cnpj
,br_cpf
,ca_bn
,ca_gst_hst
,ca_pst_bc
,ca_pst_mb
,ca_pst_sk
,ca_qst
,ch_vat
,cl_tin
,es_cif
,eu_oss_vat
,eu_vat
,gb_vat
,ge_vat
,hk_br
,hu_tin
,id_npwp
,il_vat
,in_gst
,is_vat
,jp_cn
,jp_rn
,kr_brn
,li_uid
,mx_rfc
,my_frp
,my_itn
,my_sst
,no_vat
,nz_gst
,ru_inn
,ru_kpp
,sa_vat
,sg_gst
,sg_uen
,si_tin
,th_vat
,tw_vat
,ua_vat
,us_ein
, orza_vat
. Note that some legacy tax IDs have typeunknown
-
setValue
Value of the tax ID. -
setVerification
Tax ID verification information. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-