Package com.stripe.model
Class PlatformTaxFee
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PlatformTaxFee
- All Implemented Interfaces:
BalanceTransactionSource
,HasId
,StripeObjectInterface
public class PlatformTaxFee extends StripeObject implements BalanceTransactionSource
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PlatformTaxFee()
-
Method Summary
Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getAccount()
The Connected account that incurred this charge.java.lang.String
getId()
Unique identifier for the object.java.lang.String
getObject()
String representing the object's type.java.lang.String
getSourceTransaction()
The payment object that caused this tax to be inflicted.java.lang.String
getType()
The type of tax (VAT).int
hashCode()
void
setAccount(java.lang.String account)
The Connected account that incurred this charge.void
setId(java.lang.String id)
Unique identifier for the object.void
setObject(java.lang.String object)
String representing the object's type.void
setSourceTransaction(java.lang.String sourceTransaction)
The payment object that caused this tax to be inflicted.void
setType(java.lang.String type)
The type of tax (VAT).Methods inherited from class com.stripe.model.StripeObject
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.StripeObjectInterface
getLastResponse, setLastResponse
-
Constructor Details
-
PlatformTaxFee
public PlatformTaxFee()
-
-
Method Details
-
getAccount
public java.lang.String getAccount()The Connected account that incurred this charge. -
getObject
public java.lang.String getObject()String representing the object's type. Objects of the same type share the same value.Equal to `platform_tax_fee`.
-
getSourceTransaction
public java.lang.String getSourceTransaction()The payment object that caused this tax to be inflicted. -
getType
public java.lang.String getType()The type of tax (VAT). -
setAccount
public void setAccount(java.lang.String account)The Connected account that incurred this charge. -
setId
public void setId(java.lang.String id)Unique identifier for the object. -
setObject
public void setObject(java.lang.String object)String representing the object's type. Objects of the same type share the same value.Equal to `platform_tax_fee`.
-
setSourceTransaction
public void setSourceTransaction(java.lang.String sourceTransaction)The payment object that caused this tax to be inflicted. -
setType
public void setType(java.lang.String type)The type of tax (VAT). -
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
getId
public java.lang.String getId()Unique identifier for the object.
-