Package com.duffel.sdk.model
Class CreatePaymentIntentRequestData
java.lang.Object
com.duffel.sdk.model.CreatePaymentIntentRequestData
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-08-28T15:18:14.926970+07:00[Asia/Bangkok]")
public class CreatePaymentIntentRequestData
extends Object
CreatePaymentIntentRequestData
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull StringThis is the amount that the card payment being taken will be charged.@NotNull StringThe currency of the `amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.inthashCode()voidvoidsetCurrency(String currency) toString()
-
Field Details
-
JSON_PROPERTY_AMOUNT
- See Also:
-
JSON_PROPERTY_CURRENCY
- See Also:
-
-
Constructor Details
-
CreatePaymentIntentRequestData
public CreatePaymentIntentRequestData()
-
-
Method Details
-
amount
-
getAmount
This is the amount that the card payment being taken will be charged. It should be enough to cover the service(s) you want to sell (enough to book an __Offer__ for example) and the processing fees. If the currency is different from your Balance currency you should also account for foreign exchange. It can be higher than that, in which case the remainder will be considered your markup. If it's higher than the maximum allowed for you organisation you will get a validation error. By default the maximum is 5,000.00 GBP (or equivalent in the same currency). If you need a maximum higher than the default please get in touch with us via <help@duffel.com>.- Returns:
- amount
-
setAmount
-
currency
-
getCurrency
The currency of the `amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code. This is going to be the currency that the card payment being taken in will be charged in.- Returns:
- currency
-
setCurrency
-
equals
-
hashCode
public int hashCode() -
toString
-