Invoice constructor
const
Invoice({
- required String currency,
- required List<
LabeledPricePart> priceParts, - required int maxTipAmount,
- required List<
int> suggestedTipAmounts, - required String recurringPaymentTermsOfServiceUrl,
- required bool isTest,
- required bool needName,
- required bool needPhoneNumber,
- required bool needEmailAddress,
- required bool needShippingAddress,
- required bool sendPhoneNumberToProvider,
- required bool sendEmailAddressToProvider,
- required bool isFlexible,
Product invoice
Implementation
const Invoice({
required this.currency,
required this.priceParts,
required this.maxTipAmount,
required this.suggestedTipAmounts,
required this.recurringPaymentTermsOfServiceUrl,
required this.isTest,
required this.needName,
required this.needPhoneNumber,
required this.needEmailAddress,
required this.needShippingAddress,
required this.sendPhoneNumberToProvider,
required this.sendEmailAddressToProvider,
required this.isFlexible,
});