Class: Google::Apis::ContentV2_1::ReturnPolicyOnlineReturnShippingFee
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::ReturnPolicyOnlineReturnShippingFee
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Overview
The return shipping fee. This can either be a fixed fee or a boolean to indicate that the customer pays the actual shipping cost.
Instance Attribute Summary collapse
-
#fixed_fee ⇒ Google::Apis::ContentV2_1::PriceAmount
The price represented as a number and currency.
-
#type ⇒ String
Type of return shipping fee.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReturnPolicyOnlineReturnShippingFee
constructor
A new instance of ReturnPolicyOnlineReturnShippingFee.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReturnPolicyOnlineReturnShippingFee
Returns a new instance of ReturnPolicyOnlineReturnShippingFee.
12665 12666 12667 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12665 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fixed_fee ⇒ Google::Apis::ContentV2_1::PriceAmount
The price represented as a number and currency.
Corresponds to the JSON property fixedFee
12658 12659 12660 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12658 def fixed_fee @fixed_fee end |
#type ⇒ String
Type of return shipping fee.
Corresponds to the JSON property type
12663 12664 12665 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12663 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12670 12671 12672 12673 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12670 def update!(**args) @fixed_fee = args[:fixed_fee] if args.key?(:fixed_fee) @type = args[:type] if args.key?(:type) end |