You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
661
670
attr_accessor:issuer
671
+
# Settings for Managed Payments for this invoice.
672
+
attr_accessor:managed_payments
662
673
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) 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 to `metadata`.
663
674
attr_accessor:metadata
664
675
# Set the number for this invoice. If no number is present then a number will be assigned automatically when the invoice is finalized. In many markets, regulations require invoices to be unique, sequential and / or gapless. You are responsible for ensuring this is true across all your different invoicing systems in the event that you edit the invoice number using our API. If you use only Stripe for your invoices and do not change invoice numbers, Stripe handles this aspect of compliance for you automatically.
# Set to `true` to enable [Managed Payments](https://docs.stripe.com/payments/managed-payments), Stripe's merchant of record solution.
51
+
attr_accessor:enabled
52
+
53
+
definitialize(enabled: nil)
54
+
@enabled=enabled
55
+
end
56
+
end
57
+
49
58
classPeriod < ::Stripe::RequestParams
50
59
# The end of the period, which must be greater than or equal to the start. This value is inclusive.
51
60
attr_accessor:end
@@ -115,6 +124,8 @@ def initialize(price: nil)
115
124
attr_accessor:expand
116
125
# The ID of an existing invoice to add this invoice item to. For subscription invoices, when left blank, the invoice item will be added to the next upcoming scheduled invoice. For standalone invoices, the invoice item won't be automatically added unless you pass `pending_invoice_item_behavior: 'include'` when creating the invoice. This is useful when adding invoice items in response to an invoice.created webhook. You can only add invoice items to draft invoices and there is a maximum of 250 items per invoice.
117
126
attr_accessor:invoice
127
+
# Settings for Managed Payments for this invoice item.
128
+
attr_accessor:managed_payments
118
129
# The ids of the margins to apply to the invoice item. When set, the `default_margins` on the invoice do not apply to this invoice item.
119
130
attr_accessor:margins
120
131
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) 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 to `metadata`.
0 commit comments