Sha256: 0503940873369132c2bee96b2410c9fd7a951c48c596d5f27443dfd66e4853e4

Contents?: true

Size: 1.26 KB

Versions: 7

Compression:

Stored size: 1.26 KB

Contents

# frozen_string_literal: true

module NovaposhtaApi
  module Models
    class InternetDocument < Model
      property :ref, from: :Ref
      property :cost_on_site, from: :CostOnSite
      property :estimated_delivery_date, from: :EstimatedDeliveryDate
      property :int_doc_number, from: :IntDocNumber
      property :type_document, from: :TypeDocument

      property :sender, from: :Sender
      property :city_sender, from: :CitySender
      property :sender_address, from: :SenderAddress
      property :contact_sender, from: :ContactSender
      property :senders_phone, from: :SendersPhone

      property :recipient, from: :Recipient
      property :city_recipient, from: :CityRecipient
      property :recipient_address, from: :RecipientAddress
      property :contact_recipient, from: :ContactRecipient
      property :recipients_phone, from: :RecipientsPhone

      property :sevice_type, from: :SeviceType
      property :cargo_type, from: :CargoType
      property :payment_method, from: :PaymentMethod
      property :payer_type, from: :PayerType
      property :cost, from: :Cost
      property :seats_amount, from: :SeatsAmount
      property :description, from: :Description
      property :weight, from: :Weight
      property :date_time, from: :DateTime
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
novaposhta_api-0.1.7 lib/novaposhta_api/models/internet_document.rb
novaposhta_api-0.1.5 lib/novaposhta_api/models/internet_document.rb
novaposhta_api-0.1.4 lib/novaposhta_api/models/internet_document.rb
novaposhta_api-0.1.3 lib/novaposhta_api/models/internet_document.rb
novaposhta_api-0.1.2 lib/novaposhta_api/models/internet_document.rb
novaposhta_api-0.1.1 lib/novaposhta_api/models/internet_document.rb
novaposhta_api-0.1.0 lib/novaposhta_api/models/internet_document.rb