UniPayCustomerInfo class

Constructors

UniPayCustomerInfo({required String fullName, required String phoneNumber, String email = "", required UniPayAddress address, DateTime? joinedAtDate, int loyaltyLevel = 0})
UniPayCustomerInfo.fromJson(Map<String, dynamic> data)

Properties

address UniPayAddress
  • Customer address
  • getter/setter pair
    email String
  • Customer email
  • getter/setter pair
    fullName String
  • Customer name
  • getter/setter pair
    hashCode int
    The hash code for this object.
    no setterinherited
    joinedAtDate DateTime
  • Customer joined date
  • getter/setter pair
    loyaltyLevel int
  • Loyalty level of the buyer.
  • getter/setter pair
    phoneNumber String
  • Customer phone number
  • getter/setter pair
    runtimeType Type
    A representation of the runtime type of the object.
    no setterinherited
    tabbyBuyer → Buyer
    Convert to Tabby Buyer model
    no setter

    Methods

    noSuchMethod(Invocation invocation) → dynamic
    Invoked when a nonexistent method or property is accessed.
    inherited
    toJson() Map<String, dynamic>
    toString() String
    A string representation of this object.
    override

    Operators

    operator ==(Object other) bool
    The equality operator.
    inherited