Skip to content

Commit

Permalink
Add payment method reference to purchase model for improved payment t…
Browse files Browse the repository at this point in the history
…racking (#595)
  • Loading branch information
mackermedia authored Apr 6, 2023
1 parent 6a113f3 commit dd300ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/quickbooks/model/purchase.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class Purchase < BaseModel
xml_accessor :txn_tax_detail, :from => 'TxnTaxDetail', :as => TransactionTaxDetail

xml_accessor :payment_type, :from => 'PaymentType'
xml_accessor :payment_method_ref, :from => 'PaymentMethodRef', :as => BaseReference
xml_accessor :entity_ref, :from => 'EntityRef', :as => BaseReference
xml_accessor :remit_to_address, :from => 'RemitToAddr', :as => PhysicalAddress
xml_accessor :total, :from => 'TotalAmt', :as => BigDecimal, :to_xml => to_xml_big_decimal
Expand Down

0 comments on commit dd300ed

Please sign in to comment.