Package com.stripe.model.tax
Class Association
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.tax.Association
- All Implemented Interfaces:
HasId
,StripeActiveObject
,StripeObjectInterface
A Tax Association exposes the Tax Transactions that Stripe attempted to create on your behalf
based on the PaymentIntent input.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about TaxTransactionAttempt, please refer to the API Reference.Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod
-
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON, INTERNAL_GSON
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
static Association
find
(AssociationFindParams params) Finds a tax association object by PaymentIntent id.static Association
find
(AssociationFindParams params, RequestOptions options) Finds a tax association object by PaymentIntent id.static Association
Finds a tax association object by PaymentIntent id.static Association
find
(Map<String, Object> params, RequestOptions options) Finds a tax association object by PaymentIntent id.The Tax Calculation that was included in PaymentIntent.getId()
Unique identifier for the object.String representing the object's type.The PaymentIntent that this Tax Association is tracking.Information about the tax transactions linked to this payment intent.int
hashCode()
void
setCalculation
(String calculation) The Tax Calculation that was included in PaymentIntent.void
Unique identifier for the object.void
String representing the object's type.void
setPaymentIntent
(String paymentIntent) The PaymentIntent that this Tax Association is tracking.void
setTaxTransactionAttempts
(List<Association.TaxTransactionAttempt> taxTransactionAttempts) Information about the tax transactions linked to this payment intent.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, setResponseGetter, urlEncode, urlEncodeId
Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
Association
public Association()
-
-
Method Details
-
find
Finds a tax association object by PaymentIntent id.- Throws:
StripeException
-
find
public static Association find(Map<String, Object> params, RequestOptions options) throws StripeExceptionFinds a tax association object by PaymentIntent id.- Throws:
StripeException
-
find
Finds a tax association object by PaymentIntent id.- Throws:
StripeException
-
find
public static Association find(AssociationFindParams params, RequestOptions options) throws StripeException Finds a tax association object by PaymentIntent id.- Throws:
StripeException
-
getCalculation
The Tax Calculation that was included in PaymentIntent. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
tax.association
. -
getPaymentIntent
The PaymentIntent that this Tax Association is tracking. -
getTaxTransactionAttempts
Information about the tax transactions linked to this payment intent. -
setCalculation
The Tax Calculation that was included in PaymentIntent. -
setId
Unique identifier for the object. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
tax.association
. -
setPaymentIntent
The PaymentIntent that this Tax Association is tracking. -
setTaxTransactionAttempts
public void setTaxTransactionAttempts(List<Association.TaxTransactionAttempt> taxTransactionAttempts) Information about the tax transactions linked to this payment intent. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-