Package com.stripe.model
Class CreditNote.Refund
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.CreditNote.Refund
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- CreditNote
For more details about Refund, please refer to the API
Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about PaymentRecordRefund, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Amount of the refund that applies to this credit note, in cents (or local equivalent).The PaymentRecord refund details associated with this credit note refund.Get ID of expandablerefund
object.Get expandedrefund
.getType()
Type of the refund, one ofrefund
orpayment_record_refund
.int
hashCode()
void
setAmountRefunded
(Long amountRefunded) Amount of the refund that applies to this credit note, in cents (or local equivalent).void
setPaymentRecordRefund
(CreditNote.Refund.PaymentRecordRefund paymentRecordRefund) The PaymentRecord refund details associated with this credit note refund.void
void
setRefundObject
(Refund expandableObject) void
Type of the refund, one ofrefund
orpayment_record_refund
.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Refund
public Refund()
-
-
Method Details
-
getRefund
Get ID of expandablerefund
object. -
setRefund
-
getRefundObject
Get expandedrefund
. -
setRefundObject
-
getAmountRefunded
Amount of the refund that applies to this credit note, in cents (or local equivalent). -
getPaymentRecordRefund
The PaymentRecord refund details associated with this credit note refund. -
getType
Type of the refund, one ofrefund
orpayment_record_refund
. -
setAmountRefunded
Amount of the refund that applies to this credit note, in cents (or local equivalent). -
setPaymentRecordRefund
The PaymentRecord refund details associated with this credit note refund. -
setType
Type of the refund, one ofrefund
orpayment_record_refund
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-