Method: TogaiClient::PurchaseListResponse#==

Defined in:
lib/togai_client/models/purchase_list_response.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
# File 'lib/togai_client/models/purchase_list_response.rb', line 247

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      price_plan_id == o.price_plan_id &&
      price_plan_name == o.price_plan_name &&
      quantity == o.quantity &&
      rate_card_quantities == o.rate_card_quantities &&
      price_plan_version == o.price_plan_version &&
      status == o.status &&
      idempotency_key == o.idempotency_key &&
      purchase_plan == o.purchase_plan &&
      wallet_topup_details == o.wallet_topup_details &&
      price == o.price &&
      invoice_currency == o.invoice_currency &&
      created_at == o.created_at &&
      updated_at == o.updated_at &&
      type == o.type
end