Subscriber class
A subscriber.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
- Subscriber({Name? name, String? emailAddress, required String payerId, Phone? phone, ShippingDetail? shippingAddress, PaymentSource? paymentSource})
-
const
-
Subscriber.fromJson(Map<
String, dynamic> json) -
factory
Properties
- emailAddress → String?
-
The email address of the payer.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → Name?
-
The name of the payer. Supports only the given_name and surname properties.
final
- payerId → String
-
The PayPal-assigned ID for the payer.
final
- paymentSource → PaymentSource?
-
The payment source used to fund the payment.
final
- phone → Phone?
-
The phone number of the customer. Available only when you enable the Contact
Telephone Number option in the
Profile & Settings for the merchant's PayPal account. The phone.phone_number
supports only national_number.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shippingAddress → ShippingDetail?
-
The shipping details.
final
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