PaymentMethodIdentifier Class
The payment method identifiers (https://w3c.github.io/payment-method-id/): a standardized identifier (e.g. secure-payment-confirmation) or an https: URL without credentials.
public static class PaymentMethodIdentifierMethods
| Name | Description |
|---|---|
| IsUrlBased(string) | Returns whether a string is a URL-based payment method identifier: a valid identifier that the basic URL parser parses. |
| IsValid(string) | Returns whether a string is a valid payment method identifier (https://w3c.github.io/payment-method-id/#dfn-validate-a-payment-method-identifier): a string that the basic URL parser parses is valid when it is an https: URL without username nor password; another string is valid when it follows the syntax of the standardized payment method identifiers (lower case ASCII letters and digits, in parts separated by - that start with a letter). |
IsUrlBased(string)
PaymentMethodIdentifier.csIsValid(string)
PaymentMethodIdentifier.csReturns whether a string is a valid payment method identifier (https://w3c.github.io/payment-method-id/#dfn-validate-a-payment-method-identifier): a string that the basic URL parser parses is valid when it is an https: URL without username nor password; another string is valid when it follows the syntax of the standardized payment method identifiers (lower case ASCII letters and digits, in parts separated by - that start with a letter).