SdkData constructor

SdkData({
  1. int? amount,
  2. dynamic paymentMethod,
  3. dynamic reason,
  4. dynamic name,
  5. dynamic email,
  6. dynamic partnerId,
  7. dynamic countries,
  8. dynamic phone,
  9. dynamic data,
  10. dynamic sandbox = true,
  11. dynamic apikey,
  12. dynamic theme = '#4E6BFC',
})

@Params amount : Payment amount @Params reason : Payment reason @Params name : Payment owner @Params phone : Payment phoneNumber @Params data : Payment data send by webhook @Params sandbox : Payment request made in sandbox

Implementation

SdkData({
  this.amount,
  this.paymentMethod,
  this.reason,
  this.name,
  this.email,
  this.partnerId,
  this.countries,
  this.phone,
  this.data,
  this.sandbox = true,
  this.apikey,
  this.theme = '#4E6BFC',
});