Class: Google4R::Checkout::FlatRateShipping

Inherits:
ShippingMethod show all
Defined in:
lib/google4r/checkout/shared.rb

Overview

A class that represents the “flat_rate” shipping method.

Instance Attribute Summary collapse

Attributes inherited from ShippingMethod

#shipping_restrictions_allowed_areas, #shipping_restrictions_excluded_areas

Attributes inherited from DeliveryMethod

#name, #price

Instance Method Summary collapse

Methods inherited from ShippingMethod

#create_allowed_area, #create_area, #create_excluded_area

Constructor Details

#initializeFlatRateShipping

Returns a new instance of FlatRateShipping.



872
873
874
# File 'lib/google4r/checkout/shared.rb', line 872

def initialize
  super
end

Instance Attribute Details

#shipping_restrictions_allow_us_po_boxObject

(boolean, optional, default true)



870
871
872
# File 'lib/google4r/checkout/shared.rb', line 870

def shipping_restrictions_allow_us_po_box
  @shipping_restrictions_allow_us_po_box
end