Package com.stripe.model
Class Source.Receiver
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Source.Receiver
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Source
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The address of the receiver source.The total amount that was moved to your balance.The total amount received by the receiver source.The total amount that was returned to the customer.Type of refund attribute method, one ofemail
,manual
, ornone
.Type of refund attribute status, one ofmissing
,requested
, oravailable
.int
hashCode()
void
setAddress
(String address) The address of the receiver source.void
setAmountCharged
(Long amountCharged) The total amount that was moved to your balance.void
setAmountReceived
(Long amountReceived) The total amount received by the receiver source.void
setAmountReturned
(Long amountReturned) The total amount that was returned to the customer.void
setRefundAttributesMethod
(String refundAttributesMethod) Type of refund attribute method, one ofemail
,manual
, ornone
.void
setRefundAttributesStatus
(String refundAttributesStatus) Type of refund attribute status, one ofmissing
,requested
, oravailable
.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Receiver
public Receiver()
-
-
Method Details
-
getAddress
The address of the receiver source. This is the value that should be communicated to the customer to send their funds to. -
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
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
The total amount that was returned to the customer. The amount returned is expressed in the source's currency. -
getRefundAttributesMethod
Type of refund attribute method, one ofemail
,manual
, ornone
. -
getRefundAttributesStatus
Type of refund attribute status, one ofmissing
,requested
, oravailable
. -
setAddress
The address of the receiver source. This is the value that should be communicated to the customer to send their funds to. -
setAmountCharged
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
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
The total amount that was returned to the customer. The amount returned is expressed in the source's currency. -
setRefundAttributesMethod
Type of refund attribute method, one ofemail
,manual
, ornone
. -
setRefundAttributesStatus
Type of refund attribute status, one ofmissing
,requested
, oravailable
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-