Method: LockstepSdk::PaymentAppliedSyncModel#as_json

Defined in:
lib/lockstep_sdk/models/payment_applied_sync_model.rb

#as_json(options = {}) ⇒ object

Returns This object as a JSON key-value structure.

Returns:

  • (object)

    This object as a JSON key-value structure



83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'lib/lockstep_sdk/models/payment_applied_sync_model.rb', line 83

def as_json(options={})
    {
        'onMatchAction' => @on_match_action,
        'erpKey' => @erp_key,
        'invoiceErpKey' => @invoice_erp_key,
        'paymentErpKey' => @payment_erp_key,
        'entryNumber' => @entry_number,
        'applyToInvoiceDate' => @apply_to_invoice_date,
        'paymentAppliedAmount' => @payment_applied_amount,
        'created' => @created,
        'modified' => @modified,
    }
end