CommercePayload constructor

CommercePayload({
  1. String clientKey = '',
  2. String? name,
  3. String? memo,
  4. CommerceUser? user,
  5. double price = 0,
  6. String? redirectUrl,
  7. String? usageApiUrl,
  8. bool useAutoLogin = false,
  9. String? requestId,
  10. bool useNotification = false,
  11. List<CommerceProduct>? products,
  12. Map<String, String>? metadata,
  13. CommerceExtra? extra,
})

Implementation

CommercePayload({
  this.clientKey = '',
  this.name,
  this.memo,
  this.user,
  this.price = 0,
  this.redirectUrl,
  this.usageApiUrl,
  this.useAutoLogin = false,
  this.requestId,
  this.useNotification = false,
  this.products,
  this.metadata,
  this.extra,
});