public class CustomerCreateParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
CustomerCreateParams.Address |
static class |
CustomerCreateParams.Builder |
static class |
CustomerCreateParams.InvoiceSettings
Add all map key/value pairs to `extraParams` map.
|
static class |
CustomerCreateParams.Shipping
The value of the custom field.
|
static class |
CustomerCreateParams.TaxExempt |
static class |
CustomerCreateParams.TaxIdData
Add all map key/value pairs to `extraParams` map.
|
static class |
CustomerCreateParams.TaxInfo |
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static CustomerCreateParams.Builder |
builder() |
java.lang.Object |
getAddress()
The customer's address.
|
java.lang.Long |
getBalance()
An integer amount in %s that represents the customer's current balance, which affect the
customer's future invoices.
|
java.lang.String |
getCoupon() |
java.lang.String |
getDescription()
An arbitrary string that you can attach to a customer object.
|
java.lang.String |
getEmail()
Customer's email address.
|
java.util.List<java.lang.String> |
getExpand()
Specifies which fields in the response should be expanded.
|
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 |
getInvoicePrefix()
The prefix for the customer used to generate unique invoice numbers.
|
CustomerCreateParams.InvoiceSettings |
getInvoiceSettings()
Default invoice settings for this customer.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata()
A set of key-value pairs that you can attach to a customer object.
|
java.lang.String |
getName()
The customer's full name or business name.
|
java.lang.String |
getPaymentMethod() |
java.lang.String |
getPhone()
The customer's phone number.
|
java.util.List<java.lang.String> |
getPreferredLocales()
Customer's preferred languages, ordered by preference.
|
java.lang.Object |
getShipping()
The customer's shipping information.
|
java.lang.String |
getSource() |
ApiRequestParams.EnumParam |
getTaxExempt()
The customer's tax exemption.
|
java.util.List<CustomerCreateParams.TaxIdData> |
getTaxIdData()
The customer's tax IDs.
|
CustomerCreateParams.TaxInfo |
getTaxInfo()
The customer's tax information.
|
toMap
public static CustomerCreateParams.Builder builder()
public java.lang.Object getAddress()
public java.lang.Long getBalance()
public java.lang.String getCoupon()
public java.lang.String getDescription()
public java.lang.String getEmail()
public java.util.List<java.lang.String> getExpand()
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
@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.public java.lang.String getInvoicePrefix()
public CustomerCreateParams.InvoiceSettings getInvoiceSettings()
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
public java.lang.String getName()
public java.lang.String getPaymentMethod()
public java.lang.String getPhone()
public java.util.List<java.lang.String> getPreferredLocales()
public java.lang.Object getShipping()
public java.lang.String getSource()
public ApiRequestParams.EnumParam getTaxExempt()
public java.util.List<CustomerCreateParams.TaxIdData> getTaxIdData()
public CustomerCreateParams.TaxInfo getTaxInfo()