merchant static method
Get merchant information
Implementation
static Future<SumupPluginMerchantResponse> merchant() async {
try {
final response = await sumup_lib.Sumup.merchant;
// According to the SumUp package documentation, the merchant response uses
// merchantCode and currencyCode properties
return _createMerchantResponse(response.merchantCode, response.currencyCode);
} catch (e) {
return _createMerchantResponse();
}
}