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
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents a per-transaction override of a reader configuration. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanAccount the payment intent belongs to.The amount being refunded.Get ID of expandablechargeobject.Get expandedcharge.Set of key-value pairs that you can attach to an object.Get ID of expandablepaymentIntentobject.Get expandedpaymentIntent.The reason for the refund.Get ID of expandablerefundobject.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.inthashCode()voidsetAccount(String account) Account the payment intent belongs to.voidThe amount being refunded.voidvoidsetChargeObject(Charge expandableObject) voidsetMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.voidvoidsetPaymentIntentObject(PaymentIntent expandableObject) voidThe reason for the refund.voidvoidsetRefundApplicationFee(Boolean refundApplicationFee) Boolean indicating whether the application fee should be refunded when refunding this charge.voidsetRefundObject(Refund expandableObject) voidsetRefundPaymentConfig(Reader.Action.RefundPayment.RefundPaymentConfig refundPaymentConfig) Represents a per-transaction override of a reader configuration.voidsetReverseTransfer(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, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
RefundPayment
public RefundPayment()
-
-
Method Details
-
getCharge
Get ID of expandablechargeobject. -
setCharge
-
getChargeObject
Get expandedcharge. -
setChargeObject
-
getPaymentIntent
Get ID of expandablepaymentIntentobject. -
setPaymentIntent
-
getPaymentIntentObject
Get expandedpaymentIntent. -
setPaymentIntentObject
-
getRefund
Get ID of expandablerefundobject. -
setRefund
-
getRefundObject
Get expandedrefund. -
setRefundObject
-
getAccount
Account the payment intent belongs to. -
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. -
setAccount
Account the payment intent belongs to. -
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()
-