liability_shift = strtoupper( $liability_shift ); $this->enrollment_status = strtoupper( $enrollment_status ); $this->authentication_result = strtoupper( $authentication_result ); } /** * Returns the liability shift. * * @return string */ public function liability_shift(): string { return $this->liability_shift; } /** * Returns the enrollment status. * * @return string */ public function enrollment_status(): string { return $this->enrollment_status; } /** * Returns the authentication result. * * @return string */ public function authentication_result(): string { return $this->authentication_result; } /** * Returns the object as array. * * @return array */ public function to_array(): array { $data = array(); $data['liability_shift'] = $this->liability_shift(); $data['three_d_secure'] = array( 'enrollment_status' => $this->enrollment_status(), 'authentication_status' => $this->authentication_result(), ); return $data; } }