Class FxQuote.Usage

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.FxQuote.Usage
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
FxQuote

public static class FxQuote.Usage extends StripeObject
For more details about Usage, please refer to the API Reference.
  • Constructor Details

    • Usage

      public Usage()
  • Method Details

    • getPayment

      public FxQuote.Usage.Payment getPayment()
      The details required to use an FX Quote for a payment.
    • getTransfer

      public FxQuote.Usage.Transfer getTransfer()
      The details required to use an FX Quote for a transfer.
    • getType

      public String getType()
      The transaction type for which the FX Quote will be used.

      Can be 'payment' or 'transfer'.

    • setPayment

      public void setPayment(FxQuote.Usage.Payment payment)
      The details required to use an FX Quote for a payment.
    • setTransfer

      public void setTransfer(FxQuote.Usage.Transfer transfer)
      The details required to use an FX Quote for a transfer.
    • setType

      public void setType(String type)
      The transaction type for which the FX Quote will be used.

      Can be 'payment' or 'transfer'.

    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object