Package com.stripe.model
Class Subscription.TransferData
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.Subscription.TransferData
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Subscription
public static class Subscription.TransferData extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description TransferData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.math.BigDecimalgetAmountPercent()java.lang.StringgetDestination()Get ID of expandabledestinationobject.AccountgetDestinationObject()Get expandeddestination.inthashCode()voidsetAmountPercent(java.math.BigDecimal amountPercent)voidsetDestination(java.lang.String id)voidsetDestinationObject(Account expandableObject)-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getDestination
public java.lang.String getDestination()
Get ID of expandabledestinationobject.
-
setDestination
public void setDestination(java.lang.String id)
-
getDestinationObject
public Account getDestinationObject()
Get expandeddestination.
-
setDestinationObject
public void setDestinationObject(Account expandableObject)
-
getAmountPercent
public java.math.BigDecimal getAmountPercent()
-
setAmountPercent
public void setAmountPercent(java.math.BigDecimal amountPercent)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-