PaymayaBuyer class
The PaymayaBuyer will be inserted after the redirect url response.
Constructors
- PaymayaBuyer({required String firstName, required String middleName, required String lastName, required String birthday, required String customerSince, String? sex, required PaymayaContact contact, required PaymayaShippingAddress shippingAddress, required PaymayaBillingAddress billingAddress})
-
/ The PaymayaBuyer will be inserted after the redirect url
response.
const
- PaymayaBuyer.fromJson(String source)
-
The PaymayaBuyer will be inserted after the redirect url
response.
factory
-
PaymayaBuyer.fromMap(Map<
String, dynamic> map) -
The PaymayaBuyer will be inserted after the redirect url
response.
factory
Properties
- billingAddress → PaymayaBillingAddress
-
Buyer billing address
final
- birthday → String
-
Buyer birthday
final
- contact → PaymayaContact
-
Buyer PaymayaContact
final
- customerSince → String
-
Buyer since
final
- firstName → String
-
Buyer first name
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- lastName → String
-
Buyer last name
final
- middleName → String
-
Buyer middle name
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sex → String?
-
Buyer sex
final
- shippingAddress → PaymayaShippingAddress
-
Buyer shipping address
final
Methods
-
copyWith(
{String? firstName, String? middleName, String? lastName, String? birthday, String? customerSince, String? sex, PaymayaContact? contact, PaymayaShippingAddress? shippingAddress, PaymayaBillingAddress? billingAddress}) → PaymayaBuyer -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override