class Io::Flow::V0::Models::LocalizedItemPricesExportType

Exports localized item prices data

Attributes

since[R]

Public Class Methods

new(incoming={}) click to toggle source
Calls superclass method Io::Flow::V0::Models::ExportType::new
# File lib/flow_commerce/flow_api_v0_client.rb, line 49077
def initialize(incoming={})
  super(:discriminator => ExportType::Types::LOCALIZED_ITEM_PRICES_EXPORT_TYPE)
  opts = HttpClient::Helper.symbolize_keys(incoming)
  @since = (x = opts.delete(:since); x.nil? ? nil : HttpClient::Preconditions.assert_class('since', HttpClient::Helper.to_date_time_iso8601(x), DateTime))
end

Public Instance Methods

copy(incoming={}) click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 49087
def copy(incoming={})
  LocalizedItemPricesExportType.new(subtype_to_hash.merge(HttpClient::Helper.symbolize_keys(incoming)))
end
subtype_to_hash() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 49091
def subtype_to_hash
  {
    :since => since
  }
end
to_json() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 49083
def to_json
  JSON.dump(to_hash)
end