Sha256: 428d902fde08a89b085ac44d4bb449b9ffc708ac9c756e5163c559d2a7cf7396
Contents?: true
Size: 1.09 KB
Versions: 3
Compression:
Stored size: 1.09 KB
Contents
module QBFC # Generated Transaction types TXN_TYPES = %w{ARRefundCreditCard Bill BillPaymentCheck BillPaymentCreditCard BuildAssembly Charge Check CreditCardCharge CreditCardCredit CreditMemo Deposit Estimate InventoryAdjustment Invoice ItemReceipt JournalEntry PurchaseOrder ReceivePayment SalesOrder SalesReceipt SalesTaxPaymentCheck TimeTracking VehicleMileage VendorCredit} # Generated Transaction types that support TxnVoid Request TXN_VOIDABLE_TYPES = %w{ARRefundCreditCard Bill BillPaymentCheck BillPaymentCreditCard Charge Check CreditCardCharge CreditCardCredit CreditMemo Deposit InventoryAdjustment Invoice ItemReceipt JournalEntry SalesReceipt VendorCredit} # Generated Transaction types that don't support Mod Requests TXN_NO_MOD_TYPES = %w{ARRefundCreditCard BillPaymentCreditCard Deposit InventoryAdjustment VehicleMileage VendorCredit } # Generate Transaction subclasses generate(TXN_TYPES, Transaction, { Modifiable => (TXN_TYPES - TXN_NO_MOD_TYPES), Voidable => TXN_VOIDABLE_TYPES }) end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
jm81-qbfc-0.3.0 | lib/qbfc/transactions/generated.rb |
qbfc-0.3.0 | lib/qbfc/transactions/generated.rb |
qbfc-0.2.0-x86-mswin32-60 | lib/qbfc/transactions/generated.rb |