Class TransferCreateParams


public class TransferCreateParams extends ApiRequestParams
  • Method Details

    • builder

      public static TransferCreateParams.Builder builder()
    • getAmount

      public Long getAmount()
      A positive integer in cents (or local equivalent) representing how much to transfer.
    • getCurrency

      public String getCurrency()
      Required. 3-letter ISO code for currency.
    • getDescription

      public String getDescription()
      An arbitrary string attached to the object. Often useful for displaying to users.
    • getDestination

      public String getDestination()
      Required. The ID of a connected Stripe account. See the Connect documentation for details.
    • getExpand

      public List<String> getExpand()
      Specifies which fields in the response should be expanded.
    • getExtraParams

      public Map<String,Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's @SerializedName value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
    • getMetadata

      public Map<String,String> getMetadata()
      Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.
    • getSourceTransaction

      public String getSourceTransaction()
      You can use this parameter to transfer funds from a charge before they are added to your available balance. A pending balance will transfer immediately but the funds will not become available until the original charge becomes available. See the Connect documentation for details.
    • getSourceType

      public TransferCreateParams.SourceType getSourceType()
      The source balance to use for this transfer. One of bank_account, card, or fpx. For most users, this will default to card.
    • getTransferGroup

      public String getTransferGroup()
      A string that identifies this transaction as part of a group. See the Connect documentation for details.