Class FundingInstructions

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.FundingInstructions
All Implemented Interfaces:
StripeObjectInterface

public class FundingInstructions extends StripeObject
Each customer has a balance that is automatically applied to future invoices and payments using the customer_balance payment method. Customers can fund this balance by initiating a bank transfer to any account in the financial_addresses field. Related guide: Customer balance funding instructions
  • Constructor Details

    • FundingInstructions

      public FundingInstructions()
  • Method Details

    • getBankTransfer

      public FundingInstructions.BankTransfer getBankTransfer()
    • getCurrency

      public String getCurrency()
      Three-letter ISO currency code, in lowercase. Must be a supported currency.
    • getFundingType

      public String getFundingType()
      The funding_type of the returned instructions

      Equal to bank_transfer.

    • getLivemode

      public Boolean getLivemode()
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • getObject

      public String getObject()
      String representing the object's type. Objects of the same type share the same value.

      Equal to funding_instructions.

    • setBankTransfer

      public void setBankTransfer(FundingInstructions.BankTransfer bankTransfer)
    • setCurrency

      public void setCurrency(String currency)
      Three-letter ISO currency code, in lowercase. Must be a supported currency.
    • setFundingType

      public void setFundingType(String fundingType)
      The funding_type of the returned instructions

      Equal to bank_transfer.

    • setLivemode

      public void setLivemode(Boolean livemode)
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • setObject

      public void setObject(String object)
      String representing the object's type. Objects of the same type share the same value.

      Equal to funding_instructions.

    • 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