SupplierProfile class
- Annotations
-
- @freezed
Constructors
-
SupplierProfile({@JsonKey(name: 'supplierID') String? supplierID, @JsonKey(name: 'profileID') String? profileID, @JsonKey(name: 'erpSupplierID') String? erpSupplierID, @JsonKey(name: 'payables_account') PayablesAccount? payablesAccount, @JsonKey(name: 'supplierKYC') Map<
String, dynamic> ? supplierKYC, @JsonKey(name: 'active') bool? active, @JsonKey(name: 'accountType', unknownEnumValue: SupplierAccountType.unknown) SupplierAccountType? accountType, @JsonKey(name: 'underOrganization') bool? underOrganization, @JsonKey(name: 'isOrganizationVerified') bool? isOrganizationVerified, @JsonKey(name: 'sladeCode') String? sladeCode, @JsonKey(name: 'parentOrganizationID') String? parentOrganizationID, @JsonKey(name: 'organizationName') String? organizationName, @JsonKey(name: 'hasBranches') bool? hasBranches, @JsonKey(name: 'location') Location? location, @JsonKey(name: 'partnerType', unknownEnumValue: SupplierPartnerType.unknown) SupplierPartnerType? partnerType, @JsonKey(name: 'partnerSetupComplete') bool? partnerSetupComplete, @JsonKey(name: 'kycSubmitted') bool? kycSubmitted}) -
factory
-
SupplierProfile.fromJson(Map<
String, dynamic> json) -
factory
- SupplierProfile.initial()
-
factory
Properties
- accountType → SupplierAccountType?
-
no setterinherited
- active → bool?
-
no setterinherited
-
copyWith
→ $SupplierProfileCopyWith<
SupplierProfile> -
no setterinherited
- erpSupplierID → String?
-
no setterinherited
- hasBranches → bool?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isOrganizationVerified → bool?
-
no setterinherited
- kycSubmitted → bool?
-
no setterinherited
- location → Location?
-
no setterinherited
- organizationName → String?
-
no setterinherited
- parentOrganizationID → String?
-
no setterinherited
- partnerSetupComplete → bool?
-
no setterinherited
- partnerType → SupplierPartnerType?
-
no setterinherited
- payablesAccount → PayablesAccount?
-
no setterinherited
- profileID → String?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sladeCode → String?
-
no setterinherited
- supplierID → String?
-
no setterinherited
-
supplierKYC
→ Map<
String, dynamic> ? -
no setterinherited
- underOrganization → bool?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited