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 boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.math.BigDecimal
getAmountPercent()
java.lang.String
getDestination()
Get ID of expandabledestination
object.Account
getDestinationObject()
Get expandeddestination
.int
hashCode()
void
setAmountPercent(java.math.BigDecimal amountPercent)
void
setDestination(java.lang.String id)
void
setDestinationObject(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 expandabledestination
object.
-
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:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-