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 Details

  • Constructor Details

    • CreatePaymentIntentRequestData

      public CreatePaymentIntentRequestData()
  • Method Details

    • amount

      public CreatePaymentIntentRequestData amount(String amount)
    • getAmount

      @Nonnull @NotNull public @NotNull String 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

      public void setAmount(String amount)
    • currency

      public CreatePaymentIntentRequestData currency(String currency)
    • getCurrency

      @Nonnull @NotNull public @NotNull String 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

      public void setCurrency(String currency)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object