Package com.duffel.sdk.model
Class CreateRefundRequestData
java.lang.Object
com.duffel.sdk.model.CreateRefundRequestData
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-08-28T15:18:14.926970+07:00[Asia/Bangkok]")
public class CreateRefundRequestData
extends Object
CreateRefundRequestData
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull StringThis amount that will be refunded to the customer's card.@NotNull StringThe currency of the `amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.@NotNull StringDuffel's unique identifier for the __Payment Intent__ that the __Refund__ is forinthashCode()paymentIntentId(String paymentIntentId) voidvoidsetCurrency(String currency) voidsetPaymentIntentId(String paymentIntentId) toString()
-
Field Details
-
JSON_PROPERTY_AMOUNT
- See Also:
-
JSON_PROPERTY_CURRENCY
- See Also:
-
JSON_PROPERTY_PAYMENT_INTENT_ID
- See Also:
-
-
Constructor Details
-
CreateRefundRequestData
public CreateRefundRequestData()
-
-
Method Details
-
amount
-
getAmount
This amount that will be refunded to the customer's card.- Returns:
- amount
-
setAmount
-
currency
-
getCurrency
The currency of the `amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code. It must match the __Payment Intent__ currency.- Returns:
- currency
-
setCurrency
-
paymentIntentId
-
getPaymentIntentId
Duffel's unique identifier for the __Payment Intent__ that the __Refund__ is for- Returns:
- paymentIntentId
-
setPaymentIntentId
-
equals
-
hashCode
public int hashCode() -
toString
-