UrlSettings class

Specifications related to the Checkout URL.

The UriTemplate is of the form https://www.mystore.com/checkout?item_id={id} where {id} will be automatically replaced with data from the merchant account with this attribute offer_id

Constructors

UrlSettings({String? cartUriTemplate, String? checkoutUriTemplate})
UrlSettings.fromJson(Map json_)

Properties

cartUriTemplate String?
URL template when the placeholders are expanded will redirect the buyer to the cart page on the merchant website with the selected item in cart.
getter/setter pair
checkoutUriTemplate String?
URL template when the placeholders are expanded will redirect the buyer to the merchant checkout page with the item in the cart.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited