Payload constructor

Payload({
  1. String? applicationId,
  2. String? pg,
  3. String? method,
  4. List<String>? methods,
  5. String? orderName,
  6. String? currency,
  7. double? price,
  8. double? taxFree,
  9. double? depositPrice,
  10. String? orderId,
  11. String? subscriptionId,
  12. String? authenticationId,
  13. Map<String, dynamic>? metadata,
  14. String? userToken,
  15. Extra? extra,
  16. User? user,
  17. List<Item>? items,
  18. String? widgetKey,
  19. bool? widgetUseTerms,
  20. bool? widgetSandbox,
  21. Oopay? widgetOopay,
})

Implementation

Payload({
  this.applicationId,
  this.pg,
  this.method,
  this.methods,
  this.orderName,
  this.currency,
  this.price,
  this.taxFree,
  this.depositPrice,
  this.orderId,
  this.subscriptionId,
  this.authenticationId,
  this.metadata,
  this.userToken,
  this.extra,
  this.user,
  this.items,
  this.widgetKey,
  this.widgetUseTerms,
  this.widgetSandbox,
  this.widgetOopay,
}) {
  if(this.extra == null) {
    this.extra = Extra();
  }
}