Package com.stripe.param
Class CreditNotePreviewLinesListParams
java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.CreditNotePreviewLinesListParams
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
The ID of the shipping rate to use for this order.static class
static enum
static class
Nested 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()
The integer amount in cents (or local equivalent) representing the total amount of the credit note.The integer amount in cents (or local equivalent) representing the amount to credit the customer's balance, which will be automatically applied to their next invoice.The date when this credit note is in effect.Type of email to send to the customer, one ofcredit_note
ornone
and the default iscredit_note
.A cursor for use in pagination.Specifies which fields in the response should be expanded.Map of extra parameters for custom features not available in this client library.Required. ID of the invoice.getLimit()
A limit on the number of objects to be returned.getLines()
Line items that make up the credit note.getMemo()
The credit note's memo appears on the credit note PDF.Set of key-value pairs that you can attach to an object.The integer amount in cents (or local equivalent) representing the amount that is credited outside of Stripe.Reason for issuing this credit note, one ofduplicate
,fraudulent
,order_change
, orproduct_unsatisfactory
.ID of an existing refund to link this credit note to.The integer amount in cents (or local equivalent) representing the amount to refund.When shipping_cost contains the shipping_rate from the invoice, the shipping_cost is included in the credit note.A cursor for use in pagination.Methods inherited from class com.stripe.net.ApiRequestParams
paramsToMap, toMap
-
Method Details
-
builder
-
getAmount
The integer amount in cents (or local equivalent) representing the total amount of the credit note. -
getCreditAmount
The integer amount in cents (or local equivalent) representing the amount to credit the customer's balance, which will be automatically applied to their next invoice. -
getEffectiveAt
The date when this credit note is in effect. Same ascreated
unless overwritten. When defined, this value replaces the system-generated 'Date of issue' printed on the credit note PDF. -
getEmailType
Type of email to send to the customer, one ofcredit_note
ornone
and the default iscredit_note
. -
getEndingBefore
A cursor for use in pagination.ending_before
is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting withobj_bar
, your subsequent call can includeending_before=obj_bar
in order to fetch the previous page of the list. -
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@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. -
getInvoice
Required. ID of the invoice. -
getLimit
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. -
getLines
Line items that make up the credit note. -
getMemo
The credit note's memo appears on the credit note PDF. -
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 tometadata
. -
getOutOfBandAmount
The integer amount in cents (or local equivalent) representing the amount that is credited outside of Stripe. -
getReason
Reason for issuing this credit note, one ofduplicate
,fraudulent
,order_change
, orproduct_unsatisfactory
. -
getRefund
ID of an existing refund to link this credit note to. -
getRefundAmount
The integer amount in cents (or local equivalent) representing the amount to refund. If set, a refund will be created for the charge associated with the invoice. -
getShippingCost
When shipping_cost contains the shipping_rate from the invoice, the shipping_cost is included in the credit note. -
getStartingAfter
A cursor for use in pagination.starting_after
is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending withobj_foo
, your subsequent call can includestarting_after=obj_foo
in order to fetch the next page of the list.
-