Method: LockstepSdk::PaymentDetailModel#as_json
- Defined in:
- lib/lockstep_sdk/models/payment_detail_model.rb
#as_json(options = {}) ⇒ object
Returns This object as a JSON key-value structure.
165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 |
# File 'lib/lockstep_sdk/models/payment_detail_model.rb', line 165 def as_json(={}) { 'groupKey' => @group_key, 'paymentId' => @payment_id, 'customerId' => @customer_id, 'customerName' => @customer_name, 'memoText' => @memo_text, 'referenceCode' => @reference_code, 'primaryContact' => @primary_contact, 'email' => @email, 'currencyCode' => @currency_code, 'paymentAmount' => @payment_amount, 'unappliedAmount' => @unapplied_amount, 'baseCurrencyCode' => @base_currency_code, 'baseCurrencyPaymentAmount' => @base_currency_payment_amount, 'baseCurrencyUnappliedAmount' => @base_currency_unapplied_amount, 'paymentType' => @payment_type, 'tenderType' => @tender_type, 'paymentDate' => @payment_date, 'postDate' => @post_date, 'phone' => @phone, 'fax' => @fax, 'address1' => @address1, 'address2' => @address2, 'address3' => @address3, 'city' => @city, 'stateRegion' => @state_region, 'postalCode' => @postal_code, 'countryCode' => @country_code, } end |