ApplicationContext class

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake)

Constructors

ApplicationContext({String? brandName, String? locale, LandingPage? landingPage, ShippingPreference? shippingPreference, UserAction? userAction, PaymentMethod? paymentMethod, String? returnUrl, String? cancelUrl, StoredPaymentSource? storedPaymentSource})
const
ApplicationContext.fromJson(Map<String, dynamic> json)
factory

Properties

brandName String?
The label that overrides the business name in the PayPal account on the PayPal site.
final
cancelUrl String?
The URL where the customer is redirected after the customer cancels the payment.
final
hashCode int
The hash code for this object.
no setterinherited
landingPage LandingPage?
The type of landing page to show on the PayPal site for customer checkout.
final
locale String?
The BCP 47-formatted locale of pages that the PayPal payment experience shows. PayPal supports a five-character code. For example, da-DK, he-IL, id-ID, ja-JP, no-NO, pt-BR, ru-RU, sv-SE, th-TH, zh-CN, zh-HK, or zh-TW.
final
paymentMethod PaymentMethod?
The customer and merchant payment preferences.
final
returnUrl String?
The URL where the customer is redirected after the customer approves the payment.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shippingPreference ShippingPreference?
The shipping preference:
final
storedPaymentSource StoredPaymentSource?
Provides additional details to process a payment using a payment_source that has been stored or is intended to be stored (also referred to as stored_credential or card-on-file). Parameter compatibility:
final
userAction UserAction?
Configures a Continue or Pay Now checkout flow.
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