Class: Google4R::Checkout::FlatRateShipping
- Inherits:
-
ShippingMethod
- Object
- DeliveryMethod
- ShippingMethod
- Google4R::Checkout::FlatRateShipping
- Defined in:
- lib/google4r/checkout/shared.rb
Overview
A class that represents the “flat_rate” shipping method.
Instance Attribute Summary collapse
-
#shipping_restrictions_allow_us_po_box ⇒ Object
(boolean, optional, default true).
Attributes inherited from ShippingMethod
#shipping_restrictions_allowed_areas, #shipping_restrictions_excluded_areas
Attributes inherited from DeliveryMethod
Instance Method Summary collapse
-
#initialize ⇒ FlatRateShipping
constructor
A new instance of FlatRateShipping.
Methods inherited from ShippingMethod
#create_allowed_area, #create_area, #create_excluded_area
Constructor Details
#initialize ⇒ FlatRateShipping
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_box ⇒ Object
(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 |