Invoice constructor

const Invoice({
  1. required String currency,
  2. required List<LabeledPricePart> priceParts,
  3. required int maxTipAmount,
  4. required List<int> suggestedTipAmounts,
  5. required String recurringPaymentTermsOfServiceUrl,
  6. required bool isTest,
  7. required bool needName,
  8. required bool needPhoneNumber,
  9. required bool needEmailAddress,
  10. required bool needShippingAddress,
  11. required bool sendPhoneNumberToProvider,
  12. required bool sendEmailAddressToProvider,
  13. 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,
});