CreateRequest class final
Parameters for creating a customer.
Carries billingAddress, customData, emailAddress, and phoneNumber, among other supported fields.
Constructors
- CreateRequest({AddressInput? billingAddress, CustomDataInput? customData, String? emailAddress, String? phoneNumber, String? reference, AddressInput? shippingAddress, String? title, required String name})
-
const
-
CreateRequest.fromJson(Map<
String, Object?> json) -
factory
Properties
- billingAddress → AddressInput?
-
final
- customData → CustomDataInput?
-
final
- emailAddress → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
- phoneNumber → String?
-
final
- reference → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shippingAddress → AddressInput?
-
final
- title → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited