Payload constructor

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

Implementation

Payload({
  this.webApplicationId,
  this.androidApplicationId,
  this.iosApplicationId,
  this.clientKey,
  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();
  }
}