Class PaymentLinkCreateParams.TransferData

  • Enclosing class:
    PaymentLinkCreateParams

    public static class PaymentLinkCreateParams.TransferData
    extends java.lang.Object
    Integer representing the number of trial period days before the customer is charged for the first time. Has to be at least 1.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static PaymentLinkCreateParams.TransferData.Builder builder()  
      java.lang.Long getAmount()
      The amount that will be transferred automatically when a charge succeeds.
      java.lang.String getDestination()
      If specified, successful charges will be attributed to the destination account for tax reporting, and the funds from charges will be transferred to the destination account.
      java.util.Map<java.lang.String,​java.lang.Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getAmount

        public java.lang.Long getAmount()
        The amount that will be transferred automatically when a charge succeeds.
      • getDestination

        public java.lang.String getDestination()
        If specified, successful charges will be attributed to the destination account for tax reporting, and the funds from charges will be transferred to the destination account. The ID of the resulting transfer will be returned on the successful charge's transfer field.
      • getExtraParams

        public java.util.Map<java.lang.String,​java.lang.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.