Sha256: d8188f91a3e038865951199a5a81fb792461a8ac7b753c5374efe935c81b53a7

Contents?: true

Size: 1.63 KB

Versions: 1

Compression:

Stored size: 1.63 KB

Contents

module Falsify
  # An individual shipping method used to fulfill an order.
  class ShippingLine
    # A reference to the shipping method.
    # @return [String]
    attr_accessor :code
    # The price of the shipping method after line-level discounts have been applied.
    # Doesn't reflect cart-level or order-level discounts.
    # @return [String]
    attr_accessor :discounted_price
    # The price of the shipping method in both shop and presentment currencies after line-level discounts have been applied.
    # @return [PriceSet]
    attr_accessor :discounted_price_set
    # The price of this shipping method in the shop currency.
    # Can't be negative.
    # @return [String]
    attr_accessor :price
    # The price of the shipping method in shop and presentment currencies.
    # @return [PriceSet]
    attr_accessor :price_set
    # The source of the shipping method.
    # @return [String]
    attr_accessor :source
    # The title of the shipping method.
    # @return [String]
    attr_accessor :title
    # A list of tax line objects, each of which details a tax applicable to this shipping line.
    # @return [Array<TaxLine>]
    attr_accessor :tax_lines
    # A reference to the carrier service that provided the rate.
    # Present when the rate was computed by a third-party carrier service.
    # @return [String]
    attr_accessor :carrier_identifier
    # A reference to the fulfillment service that is being requested for the shipping method.
    # Present if the shipping method requires processing by a third party fulfillment service; null otherwise.
    # @return [String,nil]
    attr_accessor :requested_fulfillment_service_id
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
falsify-0.1.0 lib/falsify/models/order/shipping_line.rb