CommercePayerResponse constructor

CommercePayerResponse({
  1. required CommercePayerResponseObjectEnum object,
  2. required String id,
  3. required String instanceId,
  4. String? userId,
  5. String? firstName,
  6. String? lastName,
  7. String? email,
  8. String? organizationId,
  9. String? organizationName,
  10. String? imageUrl,
  11. int? createdAt,
  12. int? updatedAt,
})

Returns a new CommercePayerResponse instance.

Implementation

CommercePayerResponse({
  required this.object,
  required this.id,
  required this.instanceId,
  this.userId,
  this.firstName,
  this.lastName,
  this.email,
  this.organizationId,
  this.organizationName,
  this.imageUrl,
  this.createdAt,
  this.updatedAt,
});