Invoice
Product invoice.
This is an alias for the InvoiceUnion
type.
chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
_ | "invoice" | |
currency | string | ISO 4217 currency code |
priceParts | A list of objects used to calculate the total price of the product | |
maxTipAmount | number | The maximum allowed amount of tip in the smallest units of the currency |
suggestedTipAmounts | number[] | Suggested amounts of tip in the smallest units of the currency |
isTest | boolean | True, if the payment is a test payment |
needName | boolean | True, if the user's name is needed for payment |
needPhoneNumber | boolean | True, if the user's phone number is needed for payment |
needEmailAddress | boolean | True, if the user's email address is needed for payment |
needShippingAddress | boolean | True, if the user's shipping address is needed for payment |
sendPhoneNumberToProvider | boolean | True, if the user's phone number will be sent to the provider |
sendEmailAddressToProvider | boolean | True, if the user's email address will be sent to the provider |
isFlexible | boolean | True, if the total price depends on the shipping method |