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, GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleandelete()Deletes an existingTaxIDobject.delete(RequestOptions options) Deletes an existingTaxIDobject.Deletes an existingTaxIDobject.delete(Map<String, Object> params, RequestOptions options) Deletes an existingTaxIDobject.booleanTwo-letter ISO code representing the country of the tax ID.Time at which the object was created.Get ID of expandablecustomerobject.Get expandedcustomer.Always true for a deleted object.getId()Unique identifier for the object.Has the valuetrueif the object exists in live mode or the valuefalseif 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.inthashCode()voidsetCountry(String country) Two-letter ISO code representing the country of the tax ID.voidsetCreated(Long created) Time at which the object was created.voidsetCustomer(String id) voidsetCustomerObject(Customer expandableObject) voidsetDeleted(Boolean deleted) Always true for a deleted object.voidUnique identifier for the object.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidString representing the object's type.voidType 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.voidValue of the tax ID.voidsetVerification(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, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
TaxId
public TaxId()
-
-
Method Details
-
getCustomer
Get ID of expandablecustomerobject. -
setCustomer
-
getCustomerObject
Get expandedcustomer. -
setCustomerObject
-
delete
Deletes an existingTaxIDobject.- Throws:
StripeException
-
delete
Deletes an existingTaxIDobject.- Throws:
StripeException
-
delete
Deletes an existingTaxIDobject.- Throws:
StripeException
-
delete
Deletes an existingTaxIDobject.- 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 valuetrueif the object exists in live mode or the valuefalseif 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 valuetrueif the object exists in live mode or the valuefalseif 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.
-