public class InvoiceUpdateParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
InvoiceUpdateParams.Builder |
static class |
InvoiceUpdateParams.CollectionMethod
Add all map key/value pairs to `extraParams` map.
|
static class |
InvoiceUpdateParams.CustomField |
static class |
InvoiceUpdateParams.TransferData
The value of the custom field.
|
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static InvoiceUpdateParams.Builder |
builder() |
java.lang.Long |
getApplicationFeeAmount()
A fee in %s that will be applied to the invoice and transferred to the application owner's
Stripe account.
|
java.lang.Boolean |
getAutoAdvance()
Controls whether Stripe will perform [automatic
collection](https://stripe.com/docs/billing/invoices/workflow/#auto_advance) of the invoice.
|
InvoiceUpdateParams.CollectionMethod |
getCollectionMethod()
Either `charge_automatically` or `send_invoice`.
|
java.lang.Object |
getCustomFields()
A list of up to 4 custom fields to be displayed on the invoice.
|
java.lang.Long |
getDaysUntilDue()
The number of days from which the invoice is created until it is due.
|
java.lang.Object |
getDefaultPaymentMethod()
ID of the default payment method for the invoice.
|
java.lang.Object |
getDefaultSource()
ID of the default payment source for the invoice.
|
java.lang.Object |
getDefaultTaxRates()
The tax rates that will apply to any line item that does not have `tax_rates` set.
|
java.lang.Object |
getDescription() |
java.lang.Long |
getDueDate()
The date on which payment for this invoice is due.
|
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 |
getFooter()
Footer to be displayed on the invoice.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata() |
java.lang.Object |
getStatementDescriptor()
Extra information about a charge for the customer's credit card statement.
|
java.lang.Object |
getTaxPercent()
The percent tax rate applied to the invoice, represented as a non-negative decimal number (with
at most four decimal places) between 0 and 100.
|
java.lang.Object |
getTransferData()
If specified, the funds from the invoice will be transferred to the destination and the ID of
the resulting transfer will be found on the invoice's charge.
|
toMap
public static InvoiceUpdateParams.Builder builder()
public java.lang.Long getApplicationFeeAmount()
public java.lang.Boolean getAutoAdvance()
public InvoiceUpdateParams.CollectionMethod getCollectionMethod()
public java.lang.Object getCustomFields()
public java.lang.Long getDaysUntilDue()
public java.lang.Object getDefaultPaymentMethod()
public java.lang.Object getDefaultSource()
public java.lang.Object getDefaultTaxRates()
public java.lang.Object getDescription()
public java.lang.Long getDueDate()
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 getFooter()
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
public java.lang.Object getStatementDescriptor()
public java.lang.Object getTaxPercent()
public java.lang.Object getTransferData()