$object->getWalletId(), 'currency_id' => $object->getCurrency(), 'amount' => $object->getAmount(), 'trans_type'=>$object->getTransType() ]; } /** * @return array */ protected function rules(): array { return [ 'wallet_id' => 'required', 'currency_id' => 'required', 'amount' => 'required', 'trans_type'=>'required' ]; } /** * @return array */ protected function messages(): array { return []; } }