src/Customer.php
/**
     * Retrieve the information of the customer for a payload.
     *
     * @return array
     */
Retrieve the information of the customer for a payload.
@return array
Retrieve the information of the customer for a payload . @return array
public function toPayload(): array
    {
        return [
            'ssl_first_name' => $this->firstName,
            'ssl_last_name' => $this->lastName,
            'ssl_email' => $this->email,
            'ssl_phone' => $this->phone,
            'ssl_company' => $this->company,
            'ssl_customer_id' => $this->id,
        ];
    }
public function toPayload ( ) : array { return [ 'ssl_first_name' => $ this -> firstName , 'ssl_last_name' => $ this -> lastName , 'ssl_email' => $ this -> email , 'ssl_phone' => $ this -> phone , 'ssl_company' => $ this -> company , 'ssl_customer_id' => $ this -> id , ] ; }
Retrieve the information of the customer for a payload.
Retrieve the information of the customer for a payload .