Initialization

Once the customer is linked, the customer's id can be requested as follows:

Customer.getCustomer((onSuccess) => {
    // Do something
}, (onError) => {   
		// Log error          
})

And the customer's information fields as seen below:

Customer.getCustomerInformation({fieldNames: ["field1", "field2"]}, (fields) => {
     // Do something
}, error => { 
     // Log error
})