ReturnPolicy class Null safety

Return policy resource.

Constructors

ReturnPolicy({String? country, String? kind, String? label, String? name, List<String>? nonFreeReturnReasons, ReturnPolicyPolicy? policy, String? returnPolicyId, Price? returnShippingFee, List<ReturnPolicySeasonalOverride>? seasonalOverrides})
ReturnPolicy.fromJson(Map json_)

Properties

country String?
The country of sale where the return policy is applicable.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
kind String?
Identifies what kind of resource this is.
read / write
label String?
The user-defined label of the return policy.
read / write
name String?
The name of the policy as shown in Merchant Center.
read / write
nonFreeReturnReasons List<String>?
Return reasons that will incur return fees.
read / write
policy ReturnPolicyPolicy?
The policy.
read / write
returnPolicyId String?
Return policy ID generated by Google.
read / write
returnShippingFee Price?
The return shipping fee that will apply to non free return reasons.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
seasonalOverrides List<ReturnPolicySeasonalOverride>?
An optional list of seasonal overrides.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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