Class CurrencyAccountSource


  • public final class CurrencyAccountSource
    extends AbstractSource
    currency_account source Class The source of the payment
    • Constructor Detail

      • CurrencyAccountSource

        public CurrencyAccountSource()
    • Method Detail

      • getId

        public java.lang.String getId()
        The ID of the currency account [Required] ^(ca)_(\w{26})$
      • getAmount

        public java.lang.Integer getAmount()
        If specified, indicates the amount in the source currency to be paid out. If omitted, the root amount in the destination currency will be used. The amount must be provided in the minor currency unit. [Optional]
      • setId

        public void setId​(java.lang.String id)
        The ID of the currency account [Required] ^(ca)_(\w{26})$
      • setAmount

        public void setAmount​(java.lang.Integer amount)
        If specified, indicates the amount in the source currency to be paid out. If omitted, the root amount in the destination currency will be used. The amount must be provided in the minor currency unit. [Optional]
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class AbstractSource
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
        Overrides:
        canEqual in class AbstractSource