quickbooks-ruby 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e0af81e423ad383ec5bfba4004a9923b7527048d
4
- data.tar.gz: d0492fd366486928a45bc27a37d09fdbab9df96d
3
+ metadata.gz: 032e2863f3dbf2c3cb78e219ac9ffbe7fa48239a
4
+ data.tar.gz: 3d8323afd5f2e8beaf0f6043f623835e04b132e8
5
5
  SHA512:
6
- metadata.gz: 569698c4fe5bb9ac83fe8b18693540018d863d9205566a12fdbdc88e11bfe94b6defae75976808f9d3e8b0ce0be11ff1e6102c0c8122ed9de9cb9f7db6c0f5cb
7
- data.tar.gz: 15b39aebc7203d7d7d5a3e35d381fad3c95ff70ceaa0e76cf47eb43bea11b8242c64b356ffe9d42f48df5e5643fba0176570ef38a3c7bc7ccd41911335932a56
6
+ metadata.gz: 3f73cc89213c793400070713e99aa78a3552b84d9451aceb59ef8bb3c02de3f22e00cfd21217109da9daaa829f2baece4d92a323bb40122c8024972c8ffb74d4
7
+ data.tar.gz: b3bef0e5f9d668ac628a8d821eaa481c62ed17a44bc7f35118aeee08075c9c47564cd828e4ab4b9da4ace87dd42d5c52a3e5d2b4f9c0fac929a790148d72eee9
@@ -8,19 +8,21 @@ class Quickbooks::Model::BatchRequest < Quickbooks::Model::BaseModel
8
8
  xml_accessor :bId, :from => "@bId"
9
9
 
10
10
  # Supported Entities
11
- xml_accessor :item, from: "Item", as: Quickbooks::Model::Item
12
11
  xml_accessor :account, from: "Account", as: Quickbooks::Model::Account
13
- xml_accessor :invoice, from: "Invoice", as: Quickbooks::Model::Invoice
14
- xml_accessor :customer, from: "Customer", as: Quickbooks::Model::Customer
15
- xml_accessor :bill, from: "Bill", as: Quickbooks::Model::Bill
16
- xml_accessor :sales_receipt, from: "SalesReceipt", as: Quickbooks::Model::SalesReceipt
17
12
  xml_accessor :bill_payment, from: "BillPayment", as: Quickbooks::Model::BillPayment
18
- xml_accessor :purchase, from: "Purchase", as: Quickbooks::Model::Purchase
13
+ xml_accessor :bill, from: "Bill", as: Quickbooks::Model::Bill
19
14
  xml_accessor :credit_memo, from: "CreditMemo", as: Quickbooks::Model::CreditMemo
15
+ xml_accessor :customer, from: "Customer", as: Quickbooks::Model::Customer
16
+ xml_accessor :invoice, from: "Invoice", as: Quickbooks::Model::Invoice
17
+ xml_accessor :item, from: "Item", as: Quickbooks::Model::Item
18
+ xml_accessor :journal_entry, from: "JournalEntry", as: Quickbooks::Model::JournalEntry
20
19
  xml_accessor :payment, from: "Payment", as: Quickbooks::Model::Payment
21
- xml_accessor :time_activity, from: "TimeActivity", as: Quickbooks::Model::TimeActivity
20
+ xml_accessor :purchase_order, from: "PurchaseOrder", as: Quickbooks::Model::PurchaseOrder
21
+ xml_accessor :purchase, from: "Purchase", as: Quickbooks::Model::Purchase
22
22
  xml_accessor :refund_receipt, from: "RefundReceipt", as: Quickbooks::Model::RefundReceipt
23
- xml_accessor :journal_entry, from: "JournalEntry", as: Quickbooks::Model::JournalEntry
23
+ xml_accessor :sales_receipt, from: "SalesReceipt", as: Quickbooks::Model::SalesReceipt
24
+ xml_accessor :time_activity, from: "TimeActivity", as: Quickbooks::Model::TimeActivity
25
+ xml_accessor :vendor, from: "Vendor", as: Quickbooks::Model::Vendor
24
26
  end
25
27
 
26
28
  XML_COLLECTION_NODE = "IntuitBatchRequest"
@@ -7,19 +7,21 @@ class Quickbooks::Model::BatchResponse < Quickbooks::Model::BaseModel
7
7
  xml_accessor :fault, :from => 'Fault', :as => Quickbooks::Model::Fault
8
8
 
9
9
  # Supported Entities
10
- xml_accessor :item, from: "Item", as: Quickbooks::Model::Item
11
10
  xml_accessor :account, from: "Account", as: Quickbooks::Model::Account
12
- xml_accessor :invoice, from: "Invoice", as: Quickbooks::Model::Invoice
13
- xml_accessor :customer, from: "Customer", as: Quickbooks::Model::Customer
14
- xml_accessor :bill, from: "Bill", as: Quickbooks::Model::Bill
15
- xml_accessor :sales_receipt, from: "SalesReceipt", as: Quickbooks::Model::SalesReceipt
16
11
  xml_accessor :bill_payment, from: "BillPayment", as: Quickbooks::Model::BillPayment
17
- xml_accessor :purchase, from: "Purchase", as: Quickbooks::Model::Purchase
12
+ xml_accessor :bill, from: "Bill", as: Quickbooks::Model::Bill
18
13
  xml_accessor :credit_memo, from: "CreditMemo", as: Quickbooks::Model::CreditMemo
14
+ xml_accessor :customer, from: "Customer", as: Quickbooks::Model::Customer
15
+ xml_accessor :invoice, from: "Invoice", as: Quickbooks::Model::Invoice
16
+ xml_accessor :item, from: "Item", as: Quickbooks::Model::Item
17
+ xml_accessor :journal_entry, from: "JournalEntry", as: Quickbooks::Model::JournalEntry
19
18
  xml_accessor :payment, from: "Payment", as: Quickbooks::Model::Payment
20
- xml_accessor :time_activity, from: "TimeActivity", as: Quickbooks::Model::TimeActivity
19
+ xml_accessor :purchase_order, from: "PurchaseOrder", as: Quickbooks::Model::PurchaseOrder
20
+ xml_accessor :purchase, from: "Purchase", as: Quickbooks::Model::Purchase
21
21
  xml_accessor :refund_receipt, from: "RefundReceipt", as: Quickbooks::Model::RefundReceipt
22
- xml_accessor :journal_entry, from: "JournalEntry", as: Quickbooks::Model::JournalEntry
22
+ xml_accessor :sales_receipt, from: "SalesReceipt", as: Quickbooks::Model::SalesReceipt
23
+ xml_accessor :time_activity, from: "TimeActivity", as: Quickbooks::Model::TimeActivity
24
+ xml_accessor :vendor, from: "Vendor", as: Quickbooks::Model::Vendor
23
25
 
24
26
  def fault?
25
27
  fault
@@ -1,5 +1,5 @@
1
1
  module Quickbooks
2
2
 
3
- VERSION = "0.5.0"
3
+ VERSION = "0.5.1"
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quickbooks-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Caughlan