OnlineReturnPolicy class
Online return policy object.
This is currently used to represent return policies for ads and free listings programs.
Constructors
-
OnlineReturnPolicy.new({bool? acceptDefectiveOnly, bool? acceptExchange, List<
String> ? countries, List<String> ? itemConditions, String? label, String? name, Policy? policy, int? processRefundDays, RestockingFee? restockingFee, String? returnLabelSource, List<String> ? returnMethods, String? returnPolicyId, String? returnPolicyUri, ReturnShippingFee? returnShippingFee, List<SeasonalOverride> ? seasonalOverrides}) - OnlineReturnPolicy.fromJson(Map json_)
Properties
- acceptDefectiveOnly ↔ bool?
-
This field specifies if business only accepts defective products for
returns.
getter/setter pair
- acceptExchange ↔ bool?
-
This field specifies if business allows customers to exchange products.
getter/setter pair
-
countries
↔ List<
String> ? -
The countries of sale where the return policy applies.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
itemConditions
↔ List<
String> ? -
The item conditions accepted for returns must not be empty unless the type
of return policy is 'noReturns'.
getter/setter pair
- label ↔ String?
-
This field represents the unique user-defined label of the return policy
for the given country.
getter/setter pair
- name ↔ String?
-
Identifier.
getter/setter pair
- policy ↔ Policy?
-
The return policy.
getter/setter pair
- processRefundDays ↔ int?
-
The field specifies the number of days it takes for business to process
refunds.
getter/setter pair
- restockingFee ↔ RestockingFee?
-
The restocking fee that applies to all return reason categories.
getter/setter pair
- returnLabelSource ↔ String?
-
The field specifies the return label source.
getter/setter pair
-
returnMethods
↔ List<
String> ? -
The return methods of how customers can return an item.
getter/setter pair
- returnPolicyId ↔ String?
-
Return policy ID generated by Google.
getter/setter pair
- returnPolicyUri ↔ String?
-
The return policy uri.
getter/setter pair
- returnShippingFee ↔ ReturnShippingFee?
-
The return shipping fee.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
seasonalOverrides
↔ List<
SeasonalOverride> ? -
Overrides to the general policy for orders placed during a specific set of
time intervals.
getter/setter pair
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