getBankAccountDriversLicense
getBankAccountDriversLicense()
:
String
Returns the driver's license associated with a bank account if the calling
context meets the following criteria:
-
If the method call happens in the context of a storefront request and
the current customer is identical to the customer related to the basket
or order, and the current protocol is HTTPS.
-
If the method call happens in the context of the business manager and the
current user has permission to the Orders module.
Otherwise, the method throws an exception.
Returns:
the driver's license number if the calling context meets the necessary criteria.