@lshay-provider/stripe 0.0.0-stage → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/bin/applePayDomain.d.ts +64 -0
- package/bin/applePayDomain.d.ts.map +1 -0
- package/bin/applePayDomain.js +81 -0
- package/bin/applePayDomain.js.map +1 -0
- package/bin/billingAlert.d.ts +99 -0
- package/bin/billingAlert.d.ts.map +1 -0
- package/bin/billingAlert.js +88 -0
- package/bin/billingAlert.js.map +1 -0
- package/bin/billingCreditGrant.d.ts +195 -0
- package/bin/billingCreditGrant.d.ts.map +1 -0
- package/bin/billingCreditGrant.js +108 -0
- package/bin/billingCreditGrant.js.map +1 -0
- package/bin/billingMeter.d.ts +126 -0
- package/bin/billingMeter.d.ts.map +1 -0
- package/bin/billingMeter.js +100 -0
- package/bin/billingMeter.js.map +1 -0
- package/bin/billingPortalConfiguration.d.ts +142 -0
- package/bin/billingPortalConfiguration.d.ts.map +1 -0
- package/bin/billingPortalConfiguration.js +97 -0
- package/bin/billingPortalConfiguration.js.map +1 -0
- package/bin/charge.d.ts +488 -0
- package/bin/charge.d.ts.map +1 -0
- package/bin/charge.js +166 -0
- package/bin/charge.js.map +1 -0
- package/bin/climateOrder.d.ts +239 -0
- package/bin/climateOrder.d.ts.map +1 -0
- package/bin/climateOrder.js +119 -0
- package/bin/climateOrder.js.map +1 -0
- package/bin/config/index.d.ts +2 -0
- package/bin/config/index.d.ts.map +1 -0
- package/bin/config/index.js +21 -0
- package/bin/config/index.js.map +1 -0
- package/bin/config/vars.d.ts +9 -0
- package/bin/config/vars.d.ts.map +1 -0
- package/bin/config/vars.js +42 -0
- package/bin/config/vars.js.map +1 -0
- package/bin/coupon.d.ts +208 -0
- package/bin/coupon.d.ts.map +1 -0
- package/bin/coupon.js +102 -0
- package/bin/coupon.js.map +1 -0
- package/bin/creditNote.d.ts +366 -0
- package/bin/creditNote.d.ts.map +1 -0
- package/bin/creditNote.js +141 -0
- package/bin/creditNote.js.map +1 -0
- package/bin/customer.d.ts +376 -0
- package/bin/customer.d.ts.map +1 -0
- package/bin/customer.js +134 -0
- package/bin/customer.js.map +1 -0
- package/bin/customerBalanceTransaction.d.ts +167 -0
- package/bin/customerBalanceTransaction.d.ts.map +1 -0
- package/bin/customerBalanceTransaction.js +105 -0
- package/bin/customerBalanceTransaction.js.map +1 -0
- package/bin/entitlementsFeature.d.ts +103 -0
- package/bin/entitlementsFeature.d.ts.map +1 -0
- package/bin/entitlementsFeature.js +85 -0
- package/bin/entitlementsFeature.js.map +1 -0
- package/bin/file.d.ts +145 -0
- package/bin/file.d.ts.map +1 -0
- package/bin/file.js +100 -0
- package/bin/file.js.map +1 -0
- package/bin/fileLink.d.ts +119 -0
- package/bin/fileLink.d.ts.map +1 -0
- package/bin/fileLink.js +89 -0
- package/bin/fileLink.js.map +1 -0
- package/bin/index.d.ts +152 -0
- package/bin/index.d.ts.map +1 -0
- package/bin/index.js +305 -0
- package/bin/index.js.map +1 -0
- package/bin/invoice.d.ts +785 -0
- package/bin/invoice.d.ts.map +1 -0
- package/bin/invoice.js +230 -0
- package/bin/invoice.js.map +1 -0
- package/bin/invoiceItem.d.ts +326 -0
- package/bin/invoiceItem.d.ts.map +1 -0
- package/bin/invoiceItem.js +122 -0
- package/bin/invoiceItem.js.map +1 -0
- package/bin/issuingCard.d.ts +305 -0
- package/bin/issuingCard.d.ts.map +1 -0
- package/bin/issuingCard.js +128 -0
- package/bin/issuingCard.js.map +1 -0
- package/bin/issuingCardholder.d.ts +197 -0
- package/bin/issuingCardholder.d.ts.map +1 -0
- package/bin/issuingCardholder.js +103 -0
- package/bin/issuingCardholder.js.map +1 -0
- package/bin/issuingDispute.d.ts +144 -0
- package/bin/issuingDispute.d.ts.map +1 -0
- package/bin/issuingDispute.js +92 -0
- package/bin/issuingDispute.js.map +1 -0
- package/bin/issuingPersonalizationDesign.d.ts +169 -0
- package/bin/issuingPersonalizationDesign.d.ts.map +1 -0
- package/bin/issuingPersonalizationDesign.js +101 -0
- package/bin/issuingPersonalizationDesign.js.map +1 -0
- package/bin/package.json +35 -0
- package/bin/paymentIntent.d.ts +646 -0
- package/bin/paymentIntent.d.ts.map +1 -0
- package/bin/paymentIntent.js +180 -0
- package/bin/paymentIntent.js.map +1 -0
- package/bin/paymentLink.d.ts +407 -0
- package/bin/paymentLink.d.ts.map +1 -0
- package/bin/paymentLink.js +145 -0
- package/bin/paymentLink.js.map +1 -0
- package/bin/paymentMethod.d.ts +215 -0
- package/bin/paymentMethod.d.ts.map +1 -0
- package/bin/paymentMethod.js +138 -0
- package/bin/paymentMethod.js.map +1 -0
- package/bin/paymentMethodConfiguration.d.ts +296 -0
- package/bin/paymentMethodConfiguration.d.ts.map +1 -0
- package/bin/paymentMethodConfiguration.js +204 -0
- package/bin/paymentMethodConfiguration.js.map +1 -0
- package/bin/paymentMethodDomain.d.ts +135 -0
- package/bin/paymentMethodDomain.d.ts.map +1 -0
- package/bin/paymentMethodDomain.js +95 -0
- package/bin/paymentMethodDomain.js.map +1 -0
- package/bin/person.d.ts +410 -0
- package/bin/person.d.ts.map +1 -0
- package/bin/person.js +147 -0
- package/bin/person.js.map +1 -0
- package/bin/plan.d.ts +261 -0
- package/bin/plan.d.ts.map +1 -0
- package/bin/plan.js +114 -0
- package/bin/plan.js.map +1 -0
- package/bin/price.d.ts +296 -0
- package/bin/price.d.ts.map +1 -0
- package/bin/price.js +119 -0
- package/bin/price.js.map +1 -0
- package/bin/product.d.ts +253 -0
- package/bin/product.d.ts.map +1 -0
- package/bin/product.js +108 -0
- package/bin/product.js.map +1 -0
- package/bin/productFeature.d.ts +71 -0
- package/bin/productFeature.d.ts.map +1 -0
- package/bin/productFeature.js +84 -0
- package/bin/productFeature.js.map +1 -0
- package/bin/promotionCode.d.ts +167 -0
- package/bin/promotionCode.d.ts.map +1 -0
- package/bin/promotionCode.js +96 -0
- package/bin/promotionCode.js.map +1 -0
- package/bin/provider.d.ts +60 -0
- package/bin/provider.d.ts.map +1 -0
- package/bin/provider.js +80 -0
- package/bin/provider.js.map +1 -0
- package/bin/quote.d.ts +342 -0
- package/bin/quote.d.ts.map +1 -0
- package/bin/quote.js +134 -0
- package/bin/quote.js.map +1 -0
- package/bin/radarValueList.d.ts +123 -0
- package/bin/radarValueList.d.ts.map +1 -0
- package/bin/radarValueList.js +89 -0
- package/bin/radarValueList.js.map +1 -0
- package/bin/radarValueListItem.d.ts +93 -0
- package/bin/radarValueListItem.d.ts.map +1 -0
- package/bin/radarValueListItem.js +88 -0
- package/bin/radarValueListItem.js.map +1 -0
- package/bin/setupIntent.d.ts +476 -0
- package/bin/setupIntent.d.ts.map +1 -0
- package/bin/setupIntent.js +142 -0
- package/bin/setupIntent.js.map +1 -0
- package/bin/shippingRate.d.ts +156 -0
- package/bin/shippingRate.d.ts.map +1 -0
- package/bin/shippingRate.js +95 -0
- package/bin/shippingRate.js.map +1 -0
- package/bin/source.d.ts +295 -0
- package/bin/source.d.ts.map +1 -0
- package/bin/source.js +154 -0
- package/bin/source.js.map +1 -0
- package/bin/subscription.d.ts +634 -0
- package/bin/subscription.d.ts.map +1 -0
- package/bin/subscription.js +178 -0
- package/bin/subscription.js.map +1 -0
- package/bin/subscriptionItem.d.ts +277 -0
- package/bin/subscriptionItem.d.ts.map +1 -0
- package/bin/subscriptionItem.js +109 -0
- package/bin/subscriptionItem.js.map +1 -0
- package/bin/subscriptionSchedule.d.ts +243 -0
- package/bin/subscriptionSchedule.d.ts.map +1 -0
- package/bin/subscriptionSchedule.js +114 -0
- package/bin/subscriptionSchedule.js.map +1 -0
- package/bin/taxId.d.ts +131 -0
- package/bin/taxId.d.ts.map +1 -0
- package/bin/taxId.js +99 -0
- package/bin/taxId.js.map +1 -0
- package/bin/taxRate.d.ts +225 -0
- package/bin/taxRate.d.ts.map +1 -0
- package/bin/taxRate.js +113 -0
- package/bin/taxRate.js.map +1 -0
- package/bin/taxRegistration.d.ts +110 -0
- package/bin/taxRegistration.d.ts.map +1 -0
- package/bin/taxRegistration.js +95 -0
- package/bin/taxRegistration.js.map +1 -0
- package/bin/terminalConfiguration.d.ts +117 -0
- package/bin/terminalConfiguration.d.ts.map +1 -0
- package/bin/terminalConfiguration.js +106 -0
- package/bin/terminalConfiguration.js.map +1 -0
- package/bin/terminalLocation.d.ts +139 -0
- package/bin/terminalLocation.d.ts.map +1 -0
- package/bin/terminalLocation.js +90 -0
- package/bin/terminalLocation.js.map +1 -0
- package/bin/terminalReader.d.ts +160 -0
- package/bin/terminalReader.d.ts.map +1 -0
- package/bin/terminalReader.js +99 -0
- package/bin/terminalReader.js.map +1 -0
- package/bin/treasuryFinancialAccount.d.ts +195 -0
- package/bin/treasuryFinancialAccount.d.ts.map +1 -0
- package/bin/treasuryFinancialAccount.js +109 -0
- package/bin/treasuryFinancialAccount.js.map +1 -0
- package/bin/types/index.d.ts +4 -0
- package/bin/types/index.d.ts.map +1 -0
- package/bin/types/index.js +34 -0
- package/bin/types/index.js.map +1 -0
- package/bin/types/input.d.ts +16586 -0
- package/bin/types/input.d.ts.map +1 -0
- package/bin/types/input.js +5 -0
- package/bin/types/input.js.map +1 -0
- package/bin/types/output.d.ts +16585 -0
- package/bin/types/output.d.ts.map +1 -0
- package/bin/types/output.js +5 -0
- package/bin/types/output.js.map +1 -0
- package/bin/utilities.d.ts +6 -0
- package/bin/utilities.d.ts.map +1 -0
- package/bin/utilities.js +152 -0
- package/bin/utilities.js.map +1 -0
- package/bin/v2coreEventDestination.d.ts +252 -0
- package/bin/v2coreEventDestination.d.ts.map +1 -0
- package/bin/v2coreEventDestination.js +117 -0
- package/bin/v2coreEventDestination.js.map +1 -0
- package/bin/webhookEndpoint.d.ts +163 -0
- package/bin/webhookEndpoint.d.ts.map +1 -0
- package/bin/webhookEndpoint.js +102 -0
- package/bin/webhookEndpoint.js.map +1 -0
- package/package.json +32 -3
|
@@ -0,0 +1,366 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
export declare class CreditNote extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing CreditNote resource's state with the given name, ID, and optional extra
|
|
7
|
+
* properties used to qualify the lookup.
|
|
8
|
+
*
|
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
|
+
* @param state Any extra arguments used during the lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CreditNoteState, opts?: pulumi.CustomResourceOptions): CreditNote;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of CreditNote. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is CreditNote;
|
|
20
|
+
/**
|
|
21
|
+
* The integer amount in cents (or local equivalent) representing the total amount of the credit note, including tax.
|
|
22
|
+
*/
|
|
23
|
+
readonly amount: pulumi.Output<number>;
|
|
24
|
+
/**
|
|
25
|
+
* This is the sum of all the shipping amounts.
|
|
26
|
+
*/
|
|
27
|
+
readonly amountShipping: pulumi.Output<number>;
|
|
28
|
+
/**
|
|
29
|
+
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
30
|
+
*/
|
|
31
|
+
readonly created: pulumi.Output<number>;
|
|
32
|
+
/**
|
|
33
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
34
|
+
* 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.
|
|
35
|
+
*/
|
|
36
|
+
readonly creditAmount: pulumi.Output<number | undefined>;
|
|
37
|
+
/**
|
|
38
|
+
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
39
|
+
*/
|
|
40
|
+
readonly currency: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* ID of the customer.
|
|
43
|
+
*/
|
|
44
|
+
readonly customer: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* Customer balance transaction related to this credit note.
|
|
47
|
+
*/
|
|
48
|
+
readonly customerBalanceTransaction: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* The integer amount in cents (or local equivalent) representing the total amount of discount that was credited.
|
|
51
|
+
*/
|
|
52
|
+
readonly discountAmount: pulumi.Output<number>;
|
|
53
|
+
/**
|
|
54
|
+
* The aggregate amounts calculated per discount for all line items.
|
|
55
|
+
*/
|
|
56
|
+
readonly discountAmounts: pulumi.Output<outputs.CreditNoteDiscountAmount[]>;
|
|
57
|
+
/**
|
|
58
|
+
* The date when this credit note is in effect. Same as <span pulumi-lang-nodejs="`created`" pulumi-lang-dotnet="`Created`" pulumi-lang-go="`created`" pulumi-lang-python="`created`" pulumi-lang-yaml="`created`" pulumi-lang-java="`created`" pulumi-lang-hcl="`created`">`created`</span> unless overwritten. When defined, this value replaces the system-generated 'Date of issue' printed on the credit note PDF.
|
|
59
|
+
*/
|
|
60
|
+
readonly effectiveAt: pulumi.Output<number>;
|
|
61
|
+
/**
|
|
62
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
63
|
+
* Type of email to send to the customer, one of <span pulumi-lang-nodejs="`creditNote`" pulumi-lang-dotnet="`CreditNote`" pulumi-lang-go="`creditNote`" pulumi-lang-python="`credit_note`" pulumi-lang-yaml="`creditNote`" pulumi-lang-java="`creditNote`" pulumi-lang-hcl="`credit_note`">`creditNote`</span> or <span pulumi-lang-nodejs="`none`" pulumi-lang-dotnet="`None`" pulumi-lang-go="`none`" pulumi-lang-python="`none`" pulumi-lang-yaml="`none`" pulumi-lang-java="`none`" pulumi-lang-hcl="`none`">`none`</span> and the default is <span pulumi-lang-nodejs="`creditNote`" pulumi-lang-dotnet="`CreditNote`" pulumi-lang-go="`creditNote`" pulumi-lang-python="`credit_note`" pulumi-lang-yaml="`creditNote`" pulumi-lang-java="`creditNote`" pulumi-lang-hcl="`credit_note`">`creditNote`</span>.
|
|
64
|
+
*/
|
|
65
|
+
readonly emailType: pulumi.Output<string | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* ID of the invoice.
|
|
68
|
+
*/
|
|
69
|
+
readonly invoice: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* If the object exists in live mode, the value is <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>. If the object exists in test mode, the value is <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>.
|
|
72
|
+
*/
|
|
73
|
+
readonly livemode: pulumi.Output<boolean>;
|
|
74
|
+
/**
|
|
75
|
+
* Customer-facing text that appears on the credit note PDF.
|
|
76
|
+
*/
|
|
77
|
+
readonly memo: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* 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.
|
|
80
|
+
*/
|
|
81
|
+
readonly metadata: pulumi.Output<{
|
|
82
|
+
[key: string]: string;
|
|
83
|
+
}>;
|
|
84
|
+
/**
|
|
85
|
+
* A unique number that identifies this particular credit note and appears on the PDF of the credit note and its associated invoice.
|
|
86
|
+
*/
|
|
87
|
+
readonly number: pulumi.Output<string>;
|
|
88
|
+
/**
|
|
89
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
90
|
+
*/
|
|
91
|
+
readonly object: pulumi.Output<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Amount that was credited outside of Stripe.
|
|
94
|
+
*/
|
|
95
|
+
readonly outOfBandAmount: pulumi.Output<number>;
|
|
96
|
+
/**
|
|
97
|
+
* The amount of the credit note that was refunded to the customer, credited to the customer's balance, credited outside of Stripe, or any combination thereof.
|
|
98
|
+
*/
|
|
99
|
+
readonly postPaymentAmount: pulumi.Output<number>;
|
|
100
|
+
/**
|
|
101
|
+
* The amount of the credit note by which the invoice's <span pulumi-lang-nodejs="`amountRemaining`" pulumi-lang-dotnet="`AmountRemaining`" pulumi-lang-go="`amountRemaining`" pulumi-lang-python="`amount_remaining`" pulumi-lang-yaml="`amountRemaining`" pulumi-lang-java="`amountRemaining`" pulumi-lang-hcl="`amount_remaining`">`amountRemaining`</span> and <span pulumi-lang-nodejs="`amountDue`" pulumi-lang-dotnet="`AmountDue`" pulumi-lang-go="`amountDue`" pulumi-lang-python="`amount_due`" pulumi-lang-yaml="`amountDue`" pulumi-lang-java="`amountDue`" pulumi-lang-hcl="`amount_due`">`amountDue`</span> were reduced.
|
|
102
|
+
*/
|
|
103
|
+
readonly prePaymentAmount: pulumi.Output<number>;
|
|
104
|
+
/**
|
|
105
|
+
* The pretax credit amounts (ex: discount, credit grants, etc) for all line items.
|
|
106
|
+
*/
|
|
107
|
+
readonly pretaxCreditAmounts: pulumi.Output<outputs.CreditNotePretaxCreditAmount[]>;
|
|
108
|
+
/**
|
|
109
|
+
* Reason for issuing this credit note, one of <span pulumi-lang-nodejs="`duplicate`" pulumi-lang-dotnet="`Duplicate`" pulumi-lang-go="`duplicate`" pulumi-lang-python="`duplicate`" pulumi-lang-yaml="`duplicate`" pulumi-lang-java="`duplicate`" pulumi-lang-hcl="`duplicate`">`duplicate`</span>, <span pulumi-lang-nodejs="`fraudulent`" pulumi-lang-dotnet="`Fraudulent`" pulumi-lang-go="`fraudulent`" pulumi-lang-python="`fraudulent`" pulumi-lang-yaml="`fraudulent`" pulumi-lang-java="`fraudulent`" pulumi-lang-hcl="`fraudulent`">`fraudulent`</span>, <span pulumi-lang-nodejs="`orderChange`" pulumi-lang-dotnet="`OrderChange`" pulumi-lang-go="`orderChange`" pulumi-lang-python="`order_change`" pulumi-lang-yaml="`orderChange`" pulumi-lang-java="`orderChange`" pulumi-lang-hcl="`order_change`">`orderChange`</span>, or <span pulumi-lang-nodejs="`productUnsatisfactory`" pulumi-lang-dotnet="`ProductUnsatisfactory`" pulumi-lang-go="`productUnsatisfactory`" pulumi-lang-python="`product_unsatisfactory`" pulumi-lang-yaml="`productUnsatisfactory`" pulumi-lang-java="`productUnsatisfactory`" pulumi-lang-hcl="`product_unsatisfactory`">`productUnsatisfactory`</span>
|
|
110
|
+
*/
|
|
111
|
+
readonly reason: pulumi.Output<string>;
|
|
112
|
+
/**
|
|
113
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
114
|
+
* 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.
|
|
115
|
+
*/
|
|
116
|
+
readonly refundAmount: pulumi.Output<number | undefined>;
|
|
117
|
+
/**
|
|
118
|
+
* Refunds related to this credit note.
|
|
119
|
+
*/
|
|
120
|
+
readonly refunds: pulumi.Output<outputs.CreditNoteRefund[]>;
|
|
121
|
+
/**
|
|
122
|
+
* The details of the cost of shipping, including the ShippingRate applied to the invoice.
|
|
123
|
+
*/
|
|
124
|
+
readonly shippingCost: pulumi.Output<outputs.CreditNoteShippingCost>;
|
|
125
|
+
/**
|
|
126
|
+
* Status of this credit note, one of <span pulumi-lang-nodejs="`issued`" pulumi-lang-dotnet="`Issued`" pulumi-lang-go="`issued`" pulumi-lang-python="`issued`" pulumi-lang-yaml="`issued`" pulumi-lang-java="`issued`" pulumi-lang-hcl="`issued`">`issued`</span> or <span pulumi-lang-nodejs="`void`" pulumi-lang-dotnet="`Void`" pulumi-lang-go="`void`" pulumi-lang-python="`void`" pulumi-lang-yaml="`void`" pulumi-lang-java="`void`" pulumi-lang-hcl="`void`">`void`</span>. Learn more about [voiding credit notes](https://docs.stripe.com/billing/invoices/credit-notes#voiding).
|
|
127
|
+
*/
|
|
128
|
+
readonly status: pulumi.Output<string>;
|
|
129
|
+
/**
|
|
130
|
+
* The integer amount in cents (or local equivalent) representing the amount of the credit note, excluding exclusive tax and invoice level discounts.
|
|
131
|
+
*/
|
|
132
|
+
readonly subtotal: pulumi.Output<number>;
|
|
133
|
+
/**
|
|
134
|
+
* The integer amount in cents (or local equivalent) representing the amount of the credit note, excluding all tax and invoice level discounts.
|
|
135
|
+
*/
|
|
136
|
+
readonly subtotalExcludingTax: pulumi.Output<number>;
|
|
137
|
+
/**
|
|
138
|
+
* The integer amount in cents (or local equivalent) representing the total amount of the credit note, including tax and all discount.
|
|
139
|
+
*/
|
|
140
|
+
readonly total: pulumi.Output<number>;
|
|
141
|
+
/**
|
|
142
|
+
* The integer amount in cents (or local equivalent) representing the total amount of the credit note, excluding tax, but including discounts.
|
|
143
|
+
*/
|
|
144
|
+
readonly totalExcludingTax: pulumi.Output<number>;
|
|
145
|
+
/**
|
|
146
|
+
* The aggregate tax information for all line items.
|
|
147
|
+
*/
|
|
148
|
+
readonly totalTaxes: pulumi.Output<outputs.CreditNoteTotalTax[]>;
|
|
149
|
+
/**
|
|
150
|
+
* Type of this credit note, one of <span pulumi-lang-nodejs="`prePayment`" pulumi-lang-dotnet="`PrePayment`" pulumi-lang-go="`prePayment`" pulumi-lang-python="`pre_payment`" pulumi-lang-yaml="`prePayment`" pulumi-lang-java="`prePayment`" pulumi-lang-hcl="`pre_payment`">`prePayment`</span> or <span pulumi-lang-nodejs="`postPayment`" pulumi-lang-dotnet="`PostPayment`" pulumi-lang-go="`postPayment`" pulumi-lang-python="`post_payment`" pulumi-lang-yaml="`postPayment`" pulumi-lang-java="`postPayment`" pulumi-lang-hcl="`post_payment`">`postPayment`</span>. A <span pulumi-lang-nodejs="`prePayment`" pulumi-lang-dotnet="`PrePayment`" pulumi-lang-go="`prePayment`" pulumi-lang-python="`pre_payment`" pulumi-lang-yaml="`prePayment`" pulumi-lang-java="`prePayment`" pulumi-lang-hcl="`pre_payment`">`prePayment`</span> credit note means it was issued when the invoice was open. A <span pulumi-lang-nodejs="`postPayment`" pulumi-lang-dotnet="`PostPayment`" pulumi-lang-go="`postPayment`" pulumi-lang-python="`post_payment`" pulumi-lang-yaml="`postPayment`" pulumi-lang-java="`postPayment`" pulumi-lang-hcl="`post_payment`">`postPayment`</span> credit note means it was issued when the invoice was paid.
|
|
151
|
+
*/
|
|
152
|
+
readonly type: pulumi.Output<string>;
|
|
153
|
+
/**
|
|
154
|
+
* The time that the credit note was voided.
|
|
155
|
+
*/
|
|
156
|
+
readonly voidedAt: pulumi.Output<number>;
|
|
157
|
+
/**
|
|
158
|
+
* Create a CreditNote resource with the given unique name, arguments, and options.
|
|
159
|
+
*
|
|
160
|
+
* @param name The _unique_ name of the resource.
|
|
161
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
162
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
163
|
+
*/
|
|
164
|
+
constructor(name: string, args: CreditNoteArgs, opts?: pulumi.CustomResourceOptions);
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Input properties used for looking up and filtering CreditNote resources.
|
|
168
|
+
*/
|
|
169
|
+
export interface CreditNoteState {
|
|
170
|
+
/**
|
|
171
|
+
* The integer amount in cents (or local equivalent) representing the total amount of the credit note, including tax.
|
|
172
|
+
*/
|
|
173
|
+
amount?: pulumi.Input<number>;
|
|
174
|
+
/**
|
|
175
|
+
* This is the sum of all the shipping amounts.
|
|
176
|
+
*/
|
|
177
|
+
amountShipping?: pulumi.Input<number>;
|
|
178
|
+
/**
|
|
179
|
+
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
180
|
+
*/
|
|
181
|
+
created?: pulumi.Input<number>;
|
|
182
|
+
/**
|
|
183
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
184
|
+
* 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.
|
|
185
|
+
*/
|
|
186
|
+
creditAmount?: pulumi.Input<number>;
|
|
187
|
+
/**
|
|
188
|
+
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
189
|
+
*/
|
|
190
|
+
currency?: pulumi.Input<string>;
|
|
191
|
+
/**
|
|
192
|
+
* ID of the customer.
|
|
193
|
+
*/
|
|
194
|
+
customer?: pulumi.Input<string>;
|
|
195
|
+
/**
|
|
196
|
+
* Customer balance transaction related to this credit note.
|
|
197
|
+
*/
|
|
198
|
+
customerBalanceTransaction?: pulumi.Input<string>;
|
|
199
|
+
/**
|
|
200
|
+
* The integer amount in cents (or local equivalent) representing the total amount of discount that was credited.
|
|
201
|
+
*/
|
|
202
|
+
discountAmount?: pulumi.Input<number>;
|
|
203
|
+
/**
|
|
204
|
+
* The aggregate amounts calculated per discount for all line items.
|
|
205
|
+
*/
|
|
206
|
+
discountAmounts?: pulumi.Input<pulumi.Input<inputs.CreditNoteDiscountAmount>[]>;
|
|
207
|
+
/**
|
|
208
|
+
* The date when this credit note is in effect. Same as <span pulumi-lang-nodejs="`created`" pulumi-lang-dotnet="`Created`" pulumi-lang-go="`created`" pulumi-lang-python="`created`" pulumi-lang-yaml="`created`" pulumi-lang-java="`created`" pulumi-lang-hcl="`created`">`created`</span> unless overwritten. When defined, this value replaces the system-generated 'Date of issue' printed on the credit note PDF.
|
|
209
|
+
*/
|
|
210
|
+
effectiveAt?: pulumi.Input<number>;
|
|
211
|
+
/**
|
|
212
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
213
|
+
* Type of email to send to the customer, one of <span pulumi-lang-nodejs="`creditNote`" pulumi-lang-dotnet="`CreditNote`" pulumi-lang-go="`creditNote`" pulumi-lang-python="`credit_note`" pulumi-lang-yaml="`creditNote`" pulumi-lang-java="`creditNote`" pulumi-lang-hcl="`credit_note`">`creditNote`</span> or <span pulumi-lang-nodejs="`none`" pulumi-lang-dotnet="`None`" pulumi-lang-go="`none`" pulumi-lang-python="`none`" pulumi-lang-yaml="`none`" pulumi-lang-java="`none`" pulumi-lang-hcl="`none`">`none`</span> and the default is <span pulumi-lang-nodejs="`creditNote`" pulumi-lang-dotnet="`CreditNote`" pulumi-lang-go="`creditNote`" pulumi-lang-python="`credit_note`" pulumi-lang-yaml="`creditNote`" pulumi-lang-java="`creditNote`" pulumi-lang-hcl="`credit_note`">`creditNote`</span>.
|
|
214
|
+
*/
|
|
215
|
+
emailType?: pulumi.Input<string>;
|
|
216
|
+
/**
|
|
217
|
+
* ID of the invoice.
|
|
218
|
+
*/
|
|
219
|
+
invoice?: pulumi.Input<string>;
|
|
220
|
+
/**
|
|
221
|
+
* If the object exists in live mode, the value is <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>. If the object exists in test mode, the value is <span pulumi-lang-nodejs="`false`" pulumi-lang-dotnet="`False`" pulumi-lang-go="`false`" pulumi-lang-python="`false`" pulumi-lang-yaml="`false`" pulumi-lang-java="`false`" pulumi-lang-hcl="`false`">`false`</span>.
|
|
222
|
+
*/
|
|
223
|
+
livemode?: pulumi.Input<boolean>;
|
|
224
|
+
/**
|
|
225
|
+
* Customer-facing text that appears on the credit note PDF.
|
|
226
|
+
*/
|
|
227
|
+
memo?: pulumi.Input<string>;
|
|
228
|
+
/**
|
|
229
|
+
* 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.
|
|
230
|
+
*/
|
|
231
|
+
metadata?: pulumi.Input<{
|
|
232
|
+
[key: string]: pulumi.Input<string>;
|
|
233
|
+
}>;
|
|
234
|
+
/**
|
|
235
|
+
* A unique number that identifies this particular credit note and appears on the PDF of the credit note and its associated invoice.
|
|
236
|
+
*/
|
|
237
|
+
number?: pulumi.Input<string>;
|
|
238
|
+
/**
|
|
239
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
240
|
+
*/
|
|
241
|
+
object?: pulumi.Input<string>;
|
|
242
|
+
/**
|
|
243
|
+
* Amount that was credited outside of Stripe.
|
|
244
|
+
*/
|
|
245
|
+
outOfBandAmount?: pulumi.Input<number>;
|
|
246
|
+
/**
|
|
247
|
+
* The amount of the credit note that was refunded to the customer, credited to the customer's balance, credited outside of Stripe, or any combination thereof.
|
|
248
|
+
*/
|
|
249
|
+
postPaymentAmount?: pulumi.Input<number>;
|
|
250
|
+
/**
|
|
251
|
+
* The amount of the credit note by which the invoice's <span pulumi-lang-nodejs="`amountRemaining`" pulumi-lang-dotnet="`AmountRemaining`" pulumi-lang-go="`amountRemaining`" pulumi-lang-python="`amount_remaining`" pulumi-lang-yaml="`amountRemaining`" pulumi-lang-java="`amountRemaining`" pulumi-lang-hcl="`amount_remaining`">`amountRemaining`</span> and <span pulumi-lang-nodejs="`amountDue`" pulumi-lang-dotnet="`AmountDue`" pulumi-lang-go="`amountDue`" pulumi-lang-python="`amount_due`" pulumi-lang-yaml="`amountDue`" pulumi-lang-java="`amountDue`" pulumi-lang-hcl="`amount_due`">`amountDue`</span> were reduced.
|
|
252
|
+
*/
|
|
253
|
+
prePaymentAmount?: pulumi.Input<number>;
|
|
254
|
+
/**
|
|
255
|
+
* The pretax credit amounts (ex: discount, credit grants, etc) for all line items.
|
|
256
|
+
*/
|
|
257
|
+
pretaxCreditAmounts?: pulumi.Input<pulumi.Input<inputs.CreditNotePretaxCreditAmount>[]>;
|
|
258
|
+
/**
|
|
259
|
+
* Reason for issuing this credit note, one of <span pulumi-lang-nodejs="`duplicate`" pulumi-lang-dotnet="`Duplicate`" pulumi-lang-go="`duplicate`" pulumi-lang-python="`duplicate`" pulumi-lang-yaml="`duplicate`" pulumi-lang-java="`duplicate`" pulumi-lang-hcl="`duplicate`">`duplicate`</span>, <span pulumi-lang-nodejs="`fraudulent`" pulumi-lang-dotnet="`Fraudulent`" pulumi-lang-go="`fraudulent`" pulumi-lang-python="`fraudulent`" pulumi-lang-yaml="`fraudulent`" pulumi-lang-java="`fraudulent`" pulumi-lang-hcl="`fraudulent`">`fraudulent`</span>, <span pulumi-lang-nodejs="`orderChange`" pulumi-lang-dotnet="`OrderChange`" pulumi-lang-go="`orderChange`" pulumi-lang-python="`order_change`" pulumi-lang-yaml="`orderChange`" pulumi-lang-java="`orderChange`" pulumi-lang-hcl="`order_change`">`orderChange`</span>, or <span pulumi-lang-nodejs="`productUnsatisfactory`" pulumi-lang-dotnet="`ProductUnsatisfactory`" pulumi-lang-go="`productUnsatisfactory`" pulumi-lang-python="`product_unsatisfactory`" pulumi-lang-yaml="`productUnsatisfactory`" pulumi-lang-java="`productUnsatisfactory`" pulumi-lang-hcl="`product_unsatisfactory`">`productUnsatisfactory`</span>
|
|
260
|
+
*/
|
|
261
|
+
reason?: pulumi.Input<string>;
|
|
262
|
+
/**
|
|
263
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
264
|
+
* 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.
|
|
265
|
+
*/
|
|
266
|
+
refundAmount?: pulumi.Input<number>;
|
|
267
|
+
/**
|
|
268
|
+
* Refunds related to this credit note.
|
|
269
|
+
*/
|
|
270
|
+
refunds?: pulumi.Input<pulumi.Input<inputs.CreditNoteRefund>[]>;
|
|
271
|
+
/**
|
|
272
|
+
* The details of the cost of shipping, including the ShippingRate applied to the invoice.
|
|
273
|
+
*/
|
|
274
|
+
shippingCost?: pulumi.Input<inputs.CreditNoteShippingCost>;
|
|
275
|
+
/**
|
|
276
|
+
* Status of this credit note, one of <span pulumi-lang-nodejs="`issued`" pulumi-lang-dotnet="`Issued`" pulumi-lang-go="`issued`" pulumi-lang-python="`issued`" pulumi-lang-yaml="`issued`" pulumi-lang-java="`issued`" pulumi-lang-hcl="`issued`">`issued`</span> or <span pulumi-lang-nodejs="`void`" pulumi-lang-dotnet="`Void`" pulumi-lang-go="`void`" pulumi-lang-python="`void`" pulumi-lang-yaml="`void`" pulumi-lang-java="`void`" pulumi-lang-hcl="`void`">`void`</span>. Learn more about [voiding credit notes](https://docs.stripe.com/billing/invoices/credit-notes#voiding).
|
|
277
|
+
*/
|
|
278
|
+
status?: pulumi.Input<string>;
|
|
279
|
+
/**
|
|
280
|
+
* The integer amount in cents (or local equivalent) representing the amount of the credit note, excluding exclusive tax and invoice level discounts.
|
|
281
|
+
*/
|
|
282
|
+
subtotal?: pulumi.Input<number>;
|
|
283
|
+
/**
|
|
284
|
+
* The integer amount in cents (or local equivalent) representing the amount of the credit note, excluding all tax and invoice level discounts.
|
|
285
|
+
*/
|
|
286
|
+
subtotalExcludingTax?: pulumi.Input<number>;
|
|
287
|
+
/**
|
|
288
|
+
* The integer amount in cents (or local equivalent) representing the total amount of the credit note, including tax and all discount.
|
|
289
|
+
*/
|
|
290
|
+
total?: pulumi.Input<number>;
|
|
291
|
+
/**
|
|
292
|
+
* The integer amount in cents (or local equivalent) representing the total amount of the credit note, excluding tax, but including discounts.
|
|
293
|
+
*/
|
|
294
|
+
totalExcludingTax?: pulumi.Input<number>;
|
|
295
|
+
/**
|
|
296
|
+
* The aggregate tax information for all line items.
|
|
297
|
+
*/
|
|
298
|
+
totalTaxes?: pulumi.Input<pulumi.Input<inputs.CreditNoteTotalTax>[]>;
|
|
299
|
+
/**
|
|
300
|
+
* Type of this credit note, one of <span pulumi-lang-nodejs="`prePayment`" pulumi-lang-dotnet="`PrePayment`" pulumi-lang-go="`prePayment`" pulumi-lang-python="`pre_payment`" pulumi-lang-yaml="`prePayment`" pulumi-lang-java="`prePayment`" pulumi-lang-hcl="`pre_payment`">`prePayment`</span> or <span pulumi-lang-nodejs="`postPayment`" pulumi-lang-dotnet="`PostPayment`" pulumi-lang-go="`postPayment`" pulumi-lang-python="`post_payment`" pulumi-lang-yaml="`postPayment`" pulumi-lang-java="`postPayment`" pulumi-lang-hcl="`post_payment`">`postPayment`</span>. A <span pulumi-lang-nodejs="`prePayment`" pulumi-lang-dotnet="`PrePayment`" pulumi-lang-go="`prePayment`" pulumi-lang-python="`pre_payment`" pulumi-lang-yaml="`prePayment`" pulumi-lang-java="`prePayment`" pulumi-lang-hcl="`pre_payment`">`prePayment`</span> credit note means it was issued when the invoice was open. A <span pulumi-lang-nodejs="`postPayment`" pulumi-lang-dotnet="`PostPayment`" pulumi-lang-go="`postPayment`" pulumi-lang-python="`post_payment`" pulumi-lang-yaml="`postPayment`" pulumi-lang-java="`postPayment`" pulumi-lang-hcl="`post_payment`">`postPayment`</span> credit note means it was issued when the invoice was paid.
|
|
301
|
+
*/
|
|
302
|
+
type?: pulumi.Input<string>;
|
|
303
|
+
/**
|
|
304
|
+
* The time that the credit note was voided.
|
|
305
|
+
*/
|
|
306
|
+
voidedAt?: pulumi.Input<number>;
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* The set of arguments for constructing a CreditNote resource.
|
|
310
|
+
*/
|
|
311
|
+
export interface CreditNoteArgs {
|
|
312
|
+
/**
|
|
313
|
+
* The integer amount in cents (or local equivalent) representing the total amount of the credit note, including tax.
|
|
314
|
+
*/
|
|
315
|
+
amount?: pulumi.Input<number>;
|
|
316
|
+
/**
|
|
317
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
318
|
+
* 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.
|
|
319
|
+
*/
|
|
320
|
+
creditAmount?: pulumi.Input<number>;
|
|
321
|
+
/**
|
|
322
|
+
* The date when this credit note is in effect. Same as <span pulumi-lang-nodejs="`created`" pulumi-lang-dotnet="`Created`" pulumi-lang-go="`created`" pulumi-lang-python="`created`" pulumi-lang-yaml="`created`" pulumi-lang-java="`created`" pulumi-lang-hcl="`created`">`created`</span> unless overwritten. When defined, this value replaces the system-generated 'Date of issue' printed on the credit note PDF.
|
|
323
|
+
*/
|
|
324
|
+
effectiveAt?: pulumi.Input<number>;
|
|
325
|
+
/**
|
|
326
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
327
|
+
* Type of email to send to the customer, one of <span pulumi-lang-nodejs="`creditNote`" pulumi-lang-dotnet="`CreditNote`" pulumi-lang-go="`creditNote`" pulumi-lang-python="`credit_note`" pulumi-lang-yaml="`creditNote`" pulumi-lang-java="`creditNote`" pulumi-lang-hcl="`credit_note`">`creditNote`</span> or <span pulumi-lang-nodejs="`none`" pulumi-lang-dotnet="`None`" pulumi-lang-go="`none`" pulumi-lang-python="`none`" pulumi-lang-yaml="`none`" pulumi-lang-java="`none`" pulumi-lang-hcl="`none`">`none`</span> and the default is <span pulumi-lang-nodejs="`creditNote`" pulumi-lang-dotnet="`CreditNote`" pulumi-lang-go="`creditNote`" pulumi-lang-python="`credit_note`" pulumi-lang-yaml="`creditNote`" pulumi-lang-java="`creditNote`" pulumi-lang-hcl="`credit_note`">`creditNote`</span>.
|
|
328
|
+
*/
|
|
329
|
+
emailType?: pulumi.Input<string>;
|
|
330
|
+
/**
|
|
331
|
+
* ID of the invoice.
|
|
332
|
+
*/
|
|
333
|
+
invoice: pulumi.Input<string>;
|
|
334
|
+
/**
|
|
335
|
+
* Customer-facing text that appears on the credit note PDF.
|
|
336
|
+
*/
|
|
337
|
+
memo?: pulumi.Input<string>;
|
|
338
|
+
/**
|
|
339
|
+
* 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.
|
|
340
|
+
*/
|
|
341
|
+
metadata?: pulumi.Input<{
|
|
342
|
+
[key: string]: pulumi.Input<string>;
|
|
343
|
+
}>;
|
|
344
|
+
/**
|
|
345
|
+
* Amount that was credited outside of Stripe.
|
|
346
|
+
*/
|
|
347
|
+
outOfBandAmount?: pulumi.Input<number>;
|
|
348
|
+
/**
|
|
349
|
+
* Reason for issuing this credit note, one of <span pulumi-lang-nodejs="`duplicate`" pulumi-lang-dotnet="`Duplicate`" pulumi-lang-go="`duplicate`" pulumi-lang-python="`duplicate`" pulumi-lang-yaml="`duplicate`" pulumi-lang-java="`duplicate`" pulumi-lang-hcl="`duplicate`">`duplicate`</span>, <span pulumi-lang-nodejs="`fraudulent`" pulumi-lang-dotnet="`Fraudulent`" pulumi-lang-go="`fraudulent`" pulumi-lang-python="`fraudulent`" pulumi-lang-yaml="`fraudulent`" pulumi-lang-java="`fraudulent`" pulumi-lang-hcl="`fraudulent`">`fraudulent`</span>, <span pulumi-lang-nodejs="`orderChange`" pulumi-lang-dotnet="`OrderChange`" pulumi-lang-go="`orderChange`" pulumi-lang-python="`order_change`" pulumi-lang-yaml="`orderChange`" pulumi-lang-java="`orderChange`" pulumi-lang-hcl="`order_change`">`orderChange`</span>, or <span pulumi-lang-nodejs="`productUnsatisfactory`" pulumi-lang-dotnet="`ProductUnsatisfactory`" pulumi-lang-go="`productUnsatisfactory`" pulumi-lang-python="`product_unsatisfactory`" pulumi-lang-yaml="`productUnsatisfactory`" pulumi-lang-java="`productUnsatisfactory`" pulumi-lang-hcl="`product_unsatisfactory`">`productUnsatisfactory`</span>
|
|
350
|
+
*/
|
|
351
|
+
reason?: pulumi.Input<string>;
|
|
352
|
+
/**
|
|
353
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
354
|
+
* 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.
|
|
355
|
+
*/
|
|
356
|
+
refundAmount?: pulumi.Input<number>;
|
|
357
|
+
/**
|
|
358
|
+
* Refunds related to this credit note.
|
|
359
|
+
*/
|
|
360
|
+
refunds?: pulumi.Input<pulumi.Input<inputs.CreditNoteRefund>[]>;
|
|
361
|
+
/**
|
|
362
|
+
* The details of the cost of shipping, including the ShippingRate applied to the invoice.
|
|
363
|
+
*/
|
|
364
|
+
shippingCost?: pulumi.Input<inputs.CreditNoteShippingCost>;
|
|
365
|
+
}
|
|
366
|
+
//# sourceMappingURL=creditNote.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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M,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC;IAChE;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC;CAC9D"}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.CreditNote = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class CreditNote extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing CreditNote resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name, id, state, opts) {
|
|
42
|
+
return new CreditNote(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/** @internal */
|
|
45
|
+
static __pulumiType = 'stripe:index/creditNote:CreditNote';
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of CreditNote. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === CreditNote.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["amount"] = state?.amount;
|
|
62
|
+
resourceInputs["amountShipping"] = state?.amountShipping;
|
|
63
|
+
resourceInputs["created"] = state?.created;
|
|
64
|
+
resourceInputs["creditAmount"] = state?.creditAmount;
|
|
65
|
+
resourceInputs["currency"] = state?.currency;
|
|
66
|
+
resourceInputs["customer"] = state?.customer;
|
|
67
|
+
resourceInputs["customerBalanceTransaction"] = state?.customerBalanceTransaction;
|
|
68
|
+
resourceInputs["discountAmount"] = state?.discountAmount;
|
|
69
|
+
resourceInputs["discountAmounts"] = state?.discountAmounts;
|
|
70
|
+
resourceInputs["effectiveAt"] = state?.effectiveAt;
|
|
71
|
+
resourceInputs["emailType"] = state?.emailType;
|
|
72
|
+
resourceInputs["invoice"] = state?.invoice;
|
|
73
|
+
resourceInputs["livemode"] = state?.livemode;
|
|
74
|
+
resourceInputs["memo"] = state?.memo;
|
|
75
|
+
resourceInputs["metadata"] = state?.metadata;
|
|
76
|
+
resourceInputs["number"] = state?.number;
|
|
77
|
+
resourceInputs["object"] = state?.object;
|
|
78
|
+
resourceInputs["outOfBandAmount"] = state?.outOfBandAmount;
|
|
79
|
+
resourceInputs["postPaymentAmount"] = state?.postPaymentAmount;
|
|
80
|
+
resourceInputs["prePaymentAmount"] = state?.prePaymentAmount;
|
|
81
|
+
resourceInputs["pretaxCreditAmounts"] = state?.pretaxCreditAmounts;
|
|
82
|
+
resourceInputs["reason"] = state?.reason;
|
|
83
|
+
resourceInputs["refundAmount"] = state?.refundAmount;
|
|
84
|
+
resourceInputs["refunds"] = state?.refunds;
|
|
85
|
+
resourceInputs["shippingCost"] = state?.shippingCost;
|
|
86
|
+
resourceInputs["status"] = state?.status;
|
|
87
|
+
resourceInputs["subtotal"] = state?.subtotal;
|
|
88
|
+
resourceInputs["subtotalExcludingTax"] = state?.subtotalExcludingTax;
|
|
89
|
+
resourceInputs["total"] = state?.total;
|
|
90
|
+
resourceInputs["totalExcludingTax"] = state?.totalExcludingTax;
|
|
91
|
+
resourceInputs["totalTaxes"] = state?.totalTaxes;
|
|
92
|
+
resourceInputs["type"] = state?.type;
|
|
93
|
+
resourceInputs["voidedAt"] = state?.voidedAt;
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
const args = argsOrState;
|
|
97
|
+
if (args?.invoice === undefined && !opts.urn) {
|
|
98
|
+
throw new Error("Missing required property 'invoice'");
|
|
99
|
+
}
|
|
100
|
+
resourceInputs["amount"] = args?.amount;
|
|
101
|
+
resourceInputs["creditAmount"] = args?.creditAmount ? pulumi.secret(args.creditAmount) : undefined;
|
|
102
|
+
resourceInputs["effectiveAt"] = args?.effectiveAt;
|
|
103
|
+
resourceInputs["emailType"] = args?.emailType ? pulumi.secret(args.emailType) : undefined;
|
|
104
|
+
resourceInputs["invoice"] = args?.invoice;
|
|
105
|
+
resourceInputs["memo"] = args?.memo;
|
|
106
|
+
resourceInputs["metadata"] = args?.metadata;
|
|
107
|
+
resourceInputs["outOfBandAmount"] = args?.outOfBandAmount;
|
|
108
|
+
resourceInputs["reason"] = args?.reason;
|
|
109
|
+
resourceInputs["refundAmount"] = args?.refundAmount ? pulumi.secret(args.refundAmount) : undefined;
|
|
110
|
+
resourceInputs["refunds"] = args?.refunds;
|
|
111
|
+
resourceInputs["shippingCost"] = args?.shippingCost;
|
|
112
|
+
resourceInputs["amountShipping"] = undefined /*out*/;
|
|
113
|
+
resourceInputs["created"] = undefined /*out*/;
|
|
114
|
+
resourceInputs["currency"] = undefined /*out*/;
|
|
115
|
+
resourceInputs["customer"] = undefined /*out*/;
|
|
116
|
+
resourceInputs["customerBalanceTransaction"] = undefined /*out*/;
|
|
117
|
+
resourceInputs["discountAmount"] = undefined /*out*/;
|
|
118
|
+
resourceInputs["discountAmounts"] = undefined /*out*/;
|
|
119
|
+
resourceInputs["livemode"] = undefined /*out*/;
|
|
120
|
+
resourceInputs["number"] = undefined /*out*/;
|
|
121
|
+
resourceInputs["object"] = undefined /*out*/;
|
|
122
|
+
resourceInputs["postPaymentAmount"] = undefined /*out*/;
|
|
123
|
+
resourceInputs["prePaymentAmount"] = undefined /*out*/;
|
|
124
|
+
resourceInputs["pretaxCreditAmounts"] = undefined /*out*/;
|
|
125
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
126
|
+
resourceInputs["subtotal"] = undefined /*out*/;
|
|
127
|
+
resourceInputs["subtotalExcludingTax"] = undefined /*out*/;
|
|
128
|
+
resourceInputs["total"] = undefined /*out*/;
|
|
129
|
+
resourceInputs["totalExcludingTax"] = undefined /*out*/;
|
|
130
|
+
resourceInputs["totalTaxes"] = undefined /*out*/;
|
|
131
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
132
|
+
resourceInputs["voidedAt"] = undefined /*out*/;
|
|
133
|
+
}
|
|
134
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
135
|
+
const secretOpts = { additionalSecretOutputs: ["creditAmount", "emailType", "refundAmount"] };
|
|
136
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
137
|
+
super(CreditNote.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
exports.CreditNote = CreditNote;
|
|
141
|
+
//# sourceMappingURL=creditNote.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"creditNote.js","sourceRoot":"","sources":["../creditNote.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,oCAAoC,CAAC;IAE3E;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAkJD,YAAY,IAAY,EAAE,WAA8C,EAAE,IA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