Invoice constructor

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

Product invoice

Implementation

const Invoice({
  required this.currency,
  required this.priceParts,
  required this.maxTipAmount,
  required this.suggestedTipAmounts,
  required this.isTest,
  required this.needName,
  required this.needPhoneNumber,
  required this.needEmailAddress,
  required this.needShippingAddress,
  required this.sendPhoneNumberToProvider,
  required this.sendEmailAddressToProvider,
  required this.isFlexible,
});