Package com.stripe.param
Class InvoiceCreatePreviewParams
java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.InvoiceCreatePreviewParams
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classRequired. Type of the account referenced in the request.static classstatic classRequired. The number of intervals, as an whole number greater than 0.static classstatic enumstatic classstatic classNested classes/interfaces inherited from class com.stripe.net.ApiRequestParams
ApiRequestParams.EnumParam -
Field Summary
Fields inherited from class com.stripe.net.ApiRequestParams
EXTRA_PARAMS_KEY -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanSettings for automatic tax lookup for this invoice preview.The identifier of the billing cadence for which you’d like to retrieve the upcoming invoice.Cannot be provided whensubscription,schedule,subscription_detailsorschedule_detailsare provided.The currency to preview this invoice in.The identifier of the customer whose upcoming invoice you'd like to retrieve.The identifier of the account whose upcoming invoice you'd like to retrieve.Details about the customer you want to invoice or overrides for an existing customer.The coupons to redeem into discounts for the invoice preview.Specifies which fields in the response should be expanded.Map of extra parameters for custom features not available in this client library.List of invoice items to add or update in the upcoming invoice preview (up to 250).The connected account that issues the invoice.The account (if any) for which the funds of the invoice payment are intended.Customizes the types of values to include when calculating the invoice.The identifier of the schedule whose upcoming invoice you'd like to retrieve.The schedule creation or modification params to apply as a preview.The identifier of the subscription for which you'd like to retrieve the upcoming invoice.The subscription creation or modification params to apply as a preview.inthashCode()Methods inherited from class com.stripe.net.ApiRequestParams
paramsToMap, toMap
-
Method Details
-
builder
-
getAutomaticTax
Settings for automatic tax lookup for this invoice preview. -
getBillingCadence
The identifier of the billing cadence for which you’d like to retrieve the upcoming invoice.Cannot be provided whensubscription,schedule,subscription_detailsorschedule_detailsare provided. -
getCurrency
The currency to preview this invoice in. Defaults to that ofcustomerif not specified. -
getCustomer
The identifier of the customer whose upcoming invoice you'd like to retrieve. Ifautomatic_taxis enabled then one ofcustomer,customer_details,subscription, orschedulemust be set. -
getCustomerAccount
The identifier of the account whose upcoming invoice you'd like to retrieve. Ifautomatic_taxis enabled then one ofcustomer,customer_account,customer_details,subscription, orschedulemust be set. -
getCustomerDetails
Details about the customer you want to invoice or overrides for an existing customer. Ifautomatic_taxis enabled then one ofcustomer,customer_details,subscription, orschedulemust be set. -
getDiscounts
The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the subscription or customer. This works for both coupons directly applied to an invoice and coupons applied to a subscription. Pass an empty string to avoid inheriting any discounts. -
getExpand
Specifies which fields in the response should be expanded. -
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@SerializedNamevalue. 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. -
getInvoiceItems
List of invoice items to add or update in the upcoming invoice preview (up to 250). -
getIssuer
The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account. -
getOnBehalfOf
The account (if any) for which the funds of the invoice payment are intended. If set, the invoice will be presented with the branding and support information of the specified account. See the Invoices with Connect documentation for details. -
getPreviewMode
Customizes the types of values to include when calculating the invoice. Defaults tonextif unspecified. -
getSchedule
The identifier of the schedule whose upcoming invoice you'd like to retrieve. Cannot be used with subscription or subscription fields. -
getScheduleDetails
The schedule creation or modification params to apply as a preview. Cannot be used withsubscriptionorsubscription_prefixed fields. -
getSubscription
The identifier of the subscription for which you'd like to retrieve the upcoming invoice. If not provided, but asubscription_details.itemsis provided, you will preview creating a subscription with those items. If neithersubscriptionnorsubscription_details.itemsis provided, you will retrieve the next upcoming invoice from among the customer's subscriptions. -
getSubscriptionDetails
The subscription creation or modification params to apply as a preview. Cannot be used withscheduleorschedule_detailsfields. -
equals
-
canEqual
-
hashCode
public int hashCode()
-