Package com.stripe.model
Class Source.ReceiverFlow
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.Source.ReceiverFlow
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Source
public static class Source.ReceiverFlow extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description ReceiverFlow()
-
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.lang.String
getAddress()
The address of the receiver source.java.lang.Long
getAmountCharged()
The total amount that was moved to your balance.java.lang.Long
getAmountReceived()
The total amount received by the receiver source.java.lang.Long
getAmountReturned()
The total amount that was returned to the customer.java.lang.String
getRefundAttributesMethod()
Type of refund attribute method, one ofemail
,manual
, ornone
.java.lang.String
getRefundAttributesStatus()
Type of refund attribute status, one ofmissing
,requested
, oravailable
.int
hashCode()
void
setAddress(java.lang.String address)
The address of the receiver source.void
setAmountCharged(java.lang.Long amountCharged)
The total amount that was moved to your balance.void
setAmountReceived(java.lang.Long amountReceived)
The total amount received by the receiver source.void
setAmountReturned(java.lang.Long amountReturned)
The total amount that was returned to the customer.void
setRefundAttributesMethod(java.lang.String refundAttributesMethod)
Type of refund attribute method, one ofemail
,manual
, ornone
.void
setRefundAttributesStatus(java.lang.String refundAttributesStatus)
Type of refund attribute status, one ofmissing
,requested
, oravailable
.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getAddress
public java.lang.String getAddress()
The address of the receiver source. This is the value that should be communicated to the customer to send their funds to.
-
getAmountCharged
public java.lang.Long getAmountCharged()
The total amount that was moved to your balance. This is almost always equal to the amount charged. In rare cases when customers deposit excess funds and we are unable to refund those, those funds get moved to your balance and show up in amount_charged as well. The amount charged is expressed in the source's currency.
-
getAmountReceived
public java.lang.Long getAmountReceived()
The total amount received by the receiver source.amount_received = amount_returned + amount_charged
should be true for consumed sources unless customers deposit excess funds. The amount received is expressed in the source's currency.
-
getAmountReturned
public java.lang.Long getAmountReturned()
The total amount that was returned to the customer. The amount returned is expressed in the source's currency.
-
getRefundAttributesMethod
public java.lang.String getRefundAttributesMethod()
Type of refund attribute method, one ofemail
,manual
, ornone
.
-
getRefundAttributesStatus
public java.lang.String getRefundAttributesStatus()
Type of refund attribute status, one ofmissing
,requested
, oravailable
.
-
setAddress
public void setAddress(java.lang.String address)
The address of the receiver source. This is the value that should be communicated to the customer to send their funds to.
-
setAmountCharged
public void setAmountCharged(java.lang.Long amountCharged)
The total amount that was moved to your balance. This is almost always equal to the amount charged. In rare cases when customers deposit excess funds and we are unable to refund those, those funds get moved to your balance and show up in amount_charged as well. The amount charged is expressed in the source's currency.
-
setAmountReceived
public void setAmountReceived(java.lang.Long amountReceived)
The total amount received by the receiver source.amount_received = amount_returned + amount_charged
should be true for consumed sources unless customers deposit excess funds. The amount received is expressed in the source's currency.
-
setAmountReturned
public void setAmountReturned(java.lang.Long amountReturned)
The total amount that was returned to the customer. The amount returned is expressed in the source's currency.
-
setRefundAttributesMethod
public void setRefundAttributesMethod(java.lang.String refundAttributesMethod)
Type of refund attribute method, one ofemail
,manual
, ornone
.
-
setRefundAttributesStatus
public void setRefundAttributesStatus(java.lang.String refundAttributesStatus)
Type of refund attribute status, one ofmissing
,requested
, oravailable
.
-
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
-
-