Package com.stripe.model.terminal
Class Reader.Action.RefundPayment
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.terminal.Reader.Action.RefundPayment
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Reader.Action
Represents a reader action to refund a payment.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Represents a per-transaction override of a reader configuration. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The amount being refunded.Get ID of expandablecharge
object.Get expandedcharge
.Set of key-value pairs that you can attach to an object.Get ID of expandablepaymentIntent
object.Get expandedpaymentIntent
.The reason for the refund.Get ID of expandablerefund
object.Boolean indicating whether the application fee should be refunded when refunding this charge.Get expandedrefund
.Represents a per-transaction override of a reader configuration.Boolean indicating whether the transfer should be reversed when refunding this charge.int
hashCode()
void
The amount being refunded.void
void
setChargeObject
(Charge expandableObject) void
setMetadata
(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.void
void
setPaymentIntentObject
(PaymentIntent expandableObject) void
The reason for the refund.void
void
setRefundApplicationFee
(Boolean refundApplicationFee) Boolean indicating whether the application fee should be refunded when refunding this charge.void
setRefundObject
(Refund expandableObject) void
setRefundPaymentConfig
(Reader.Action.RefundPayment.RefundPaymentConfig refundPaymentConfig) Represents a per-transaction override of a reader configuration.void
setReverseTransfer
(Boolean reverseTransfer) Boolean indicating whether the transfer should be reversed when refunding this charge.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
RefundPayment
public RefundPayment()
-
-
Method Details
-
getCharge
Get ID of expandablecharge
object. -
setCharge
-
getChargeObject
Get expandedcharge
. -
setChargeObject
-
getPaymentIntent
Get ID of expandablepaymentIntent
object. -
setPaymentIntent
-
getPaymentIntentObject
Get expandedpaymentIntent
. -
setPaymentIntentObject
-
getRefund
Get ID of expandablerefund
object. -
setRefund
-
getRefundObject
Get expandedrefund
. -
setRefundObject
-
getAmount
The amount being refunded. -
getMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
getReason
The reason for the refund.One of
duplicate
,fraudulent
, orrequested_by_customer
. -
getRefundApplicationFee
Boolean indicating whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded. An application fee can be refunded only by the application that created the charge. -
getRefundPaymentConfig
Represents a per-transaction override of a reader configuration. -
getReverseTransfer
Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge. -
setAmount
The amount being refunded. -
setMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
setReason
The reason for the refund.One of
duplicate
,fraudulent
, orrequested_by_customer
. -
setRefundApplicationFee
Boolean indicating whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded. An application fee can be refunded only by the application that created the charge. -
setRefundPaymentConfig
public void setRefundPaymentConfig(Reader.Action.RefundPayment.RefundPaymentConfig refundPaymentConfig) Represents a per-transaction override of a reader configuration. -
setReverseTransfer
Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge. -
equals
-
canEqual
-
hashCode
public int hashCode()
-