Class CustomerCreateParams.InvoiceSettings

  • Enclosing class:
    CustomerCreateParams

    public static class CustomerCreateParams.InvoiceSettings
    extends java.lang.Object
    State, county, province, or region.
    • Method Summary

      Modifier and Type Method Description
      static CustomerCreateParams.InvoiceSettings.Builder builder()  
      java.lang.Object getCustomFields()
      Default custom fields to be displayed on invoices for this customer.
      java.lang.String getDefaultPaymentMethod()
      ID of a payment method that's attached to the customer, to be used as the customer's default payment method for subscriptions and invoices.
      java.util.Map<java.lang.String,​java.lang.Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library.
      java.lang.String getFooter()
      Default footer to be displayed on invoices for this customer.
      • Methods inherited from class java.lang.Object

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

      • getCustomFields

        public java.lang.Object getCustomFields()
        Default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields.
      • getDefaultPaymentMethod

        public java.lang.String getDefaultPaymentMethod()
        ID of a payment method that's attached to the customer, to be used as the customer's default payment method for subscriptions and invoices.
      • 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.
      • getFooter

        public java.lang.String getFooter()
        Default footer to be displayed on invoices for this customer.