package Ġcom . github . ht d ang k ho a . nex ter p . data . remote . re ceiving . re ceiving Ċ Ċ import Ġandroid . os . Parcelable Ċ import Ġcom . github . ht d ang k ho a . nex ter p . data . model . Response Model Ċ import Ġcom . github . ht d ang k ho a . nex ter p . data . remote . purchase . Purchase Details Response Ċ import Ġcom . github . ht d ang k ho a . nex ter p . data . remote . re ceiving . re ceiving _ details . Re ceiving Details Response Ċ import Ġcom . google . gson . annotations . SerializedName Ċ import Ġkotlinx . android . parcel . Parcel ize Ċ Ċ data Ġclass ĠRe ceiving Response ( ĊĠĠĠ Ġ@ SerializedName (" status ") ĊĠĠĠ Ġvar Ġstatus : ĠBoolean , ĊĊĠĠĠ Ġ@ SerializedName (" data ") ĊĠĠĠ Ġoverride Ġval Ġdata : ĠArray < Re ceiving ? >, ĊĊĠĠĠ Ġ@ SerializedName (" message ") ĊĠĠĠ Ġvar Ġmessage : ĠString Ċ Ċ ) Ġ: ĠResponse Model < Array < Re ceiving Response . Re ceiving ? >>() Ġ{ ĊĠĠĠ Ġ@ Parcel ize ĊĠĠĠ Ġdata Ġclass ĠRe ceiving ( ĊĠĠĠĠĠĠĠ Ġ@ SerializedName (" id ") ĊĠĠĠĠĠĠĠ Ġvar Ġid : ĠInt , ĊĊĠĠĠĠĠĠĠ Ġ@ SerializedName (" name ") ĊĠĠĠĠĠĠĠ Ġvar Ġname : ĠString , ĊĊĠĠĠĠĠĠĠ Ġ@ SerializedName (" po _ number ") ĊĠĠĠĠĠĠĠ Ġvar Ġpo _ number : ĠString , ĊĊĠĠĠĠĠĠĠ Ġ@ SerializedName (" invoice _ number ") ĊĠĠĠĠĠĠĠ Ġvar Ġinvoice _ number : ĠString , ĊĊĠĠĠĠĠĠĠ Ġ@ SerializedName (" tracking _ number ") ĊĠĠĠĠĠĠĠ Ġvar Ġtracking _ number : ĠString , ĊĊĠĠĠĠĠĠĠ Ġ@ SerializedName (" supplier _ name ") ĊĠĠĠĠĠĠĠ Ġvar Ġsupplier _ name : ĠString , ĊĊĠĠĠĠĠĠĠ Ġ@ SerializedName (" status ") ĊĠĠĠĠĠĠĠ Ġvar Ġstatus : ĠString , ĊĊĠĠĠĠĠĠĠ Ġ@ SerializedName (" created _ at ") ĊĠĠĠĠĠĠĠ Ġvar Ġcreated _ at : ĠString , ĊĊĠĠĠĠĠĠĠ Ġ@ SerializedName (" re ceiving _ details ") ĊĠĠĠĠĠĠĠ Ġvar Ġreceiving _ details : ĠList < Re ceiving Details Response . Re ceiving Details ? >, ĊĊĠĠĠĠĠĠĠ Ġ@ SerializedName (" purchase _ details ") ĊĠĠĠĠĠĠĠ Ġvar Ġpurchase _ details : ĠList < Purchase Details Response . Purchase Details ?> ĊĊĠĠĠ Ġ) Ġ: ĠParcel able ĊĊĠĠĠ Ġoverride Ġfun Ġequals ( other : ĠAny ?): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ Ġif Ġ( this Ġ=== Ġother ) Ġreturn Ġtrue ĊĠĠĠĠĠĠĠ Ġif Ġ( java Class Ġ!= Ġother ?. java Class ) Ġreturn Ġfalse ĊĊĠĠĠĠĠĠĠ Ġother Ġas ĠRe ceiving Response ĊĊĠĠĠĠĠĠĠ Ġif Ġ(! data . content Equals ( other . data )) Ġreturn Ġfalse ĊĊĠĠĠĠĠĠĠ Ġreturn Ġtrue ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠhashCode (): ĠInt Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġdata . content HashCode () ĊĠĠĠ Ġ} Ċ } ĊĊ