Class CustomerCreateParams

    • Method Detail

      • getAddress

        public java.lang.Object getAddress()
        The customer's address.
      • getBalance

        public java.lang.Long getBalance()
        An integer amount in %s that represents the customer's current balance, which affect the customer's future invoices. A negative amount represents a credit that decreases the amount due on an invoice; a positive amount increases the amount due on an invoice.
      • getCoupon

        public java.lang.String getCoupon()
      • getDescription

        public java.lang.String getDescription()
        An arbitrary string that you can attach to a customer object. It is displayed alongside the customer in the dashboard.
      • getEmail

        public java.lang.String getEmail()
        Customer's email address. It's displayed alongside the customer in your dashboard and can be useful for searching and tracking. This may be up to 512 characters.
      • getExpand

        public java.util.List<java.lang.String> getExpand()
        Specifies which fields in the response should be expanded.
      • 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.
      • getInvoicePrefix

        public java.lang.String getInvoicePrefix()
        The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers.
      • getMetadata

        public java.lang.Object 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.
      • getName

        public java.lang.String getName()
        The customer's full name or business name.
      • getNextInvoiceSequence

        public java.lang.Long getNextInvoiceSequence()
        The sequence to be used on the customer's next invoice. Defaults to 1.
      • getPaymentMethod

        public java.lang.String getPaymentMethod()
      • getPhone

        public java.lang.String getPhone()
        The customer's phone number.
      • getPreferredLocales

        public java.util.List<java.lang.String> getPreferredLocales()
        Customer's preferred languages, ordered by preference.
      • getPromotionCode

        public java.lang.String getPromotionCode()
        The API ID of a promotion code to apply to the customer. The customer will have a discount applied on all recurring payments. Charges you create through the API will not have the discount.
      • getShipping

        public java.lang.Object getShipping()
        The customer's shipping information. Appears on invoices emailed to this customer.
      • getSource

        public java.lang.String getSource()