public class CustomerUpdateParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
CustomerUpdateParams.Address |
static class |
CustomerUpdateParams.Builder |
static class |
CustomerUpdateParams.InvoiceSettings
Add all map key/value pairs to `extraParams` map.
|
static class |
CustomerUpdateParams.Shipping
The value of the custom field.
|
static class |
CustomerUpdateParams.TaxExempt |
static class |
CustomerUpdateParams.TaxInfo
Add all map key/value pairs to `extraParams` map.
|
static class |
CustomerUpdateParams.TrialEnd |
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static CustomerUpdateParams.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.Object |
getCoupon() |
java.lang.Object |
getDefaultSource()
Provide the ID of a payment source already attached to this customer to make it this customer's
default payment source.
|
java.lang.Object |
getDescription()
An arbitrary string that you can attach to a customer object.
|
java.lang.Object |
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.Object |
getInvoicePrefix()
The prefix for the customer used to generate unique invoice numbers.
|
CustomerUpdateParams.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.Object |
getName()
The customer's full name or business name.
|
java.lang.Object |
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.Object |
getSource() |
ApiRequestParams.EnumParam |
getTaxExempt()
The customer's tax exemption.
|
CustomerUpdateParams.TaxInfo |
getTaxInfo()
The customer's tax information.
|
java.lang.Object |
getTrialEnd()
Unix timestamp representing the end of the trial period the customer will get before being
charged for the first time.
|
toMap
public static CustomerUpdateParams.Builder builder()
public java.lang.Object getAddress()
public java.lang.Long getBalance()
public java.lang.Object getCoupon()
public java.lang.Object getDefaultSource()
public java.lang.Object getDescription()
public java.lang.Object 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.Object getInvoicePrefix()
public CustomerUpdateParams.InvoiceSettings getInvoiceSettings()
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
public java.lang.Object getName()
public java.lang.Object getPhone()
public java.util.List<java.lang.String> getPreferredLocales()
public java.lang.Object getShipping()
public java.lang.Object getSource()
public ApiRequestParams.EnumParam getTaxExempt()
public CustomerUpdateParams.TaxInfo getTaxInfo()
public java.lang.Object getTrialEnd()