You are here

public function MiniorangeOAuthClientCustomer::__construct in OAuth2 Login 8

Constructor.

File

src/MiniorangeOAuthClientCustomer.php, line 34
Contains miniOrange Customer class.

Class

MiniorangeOAuthClientCustomer

Namespace

Drupal\oauth2_login

Code

public function __construct($email, $phone, $password, $otp_token) {
  $this->email = $email;
  $this->phone = $phone;
  $this->password = $password;
  $this->otpToken = $otp_token;
  $this->defaultCustomerId = "16555";
  $this->defaultCustomerApiKey = "fFd2XcvTGDemZvbw1bcUesNJWEqKbbUq";
}