Class BrandHelper
Common class with helper methods for Brand Enum.
Inheritance
System.Object
BrandHelper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: StoneCo.Framework.Common.Helpers
Assembly: cs.temp.dll.dll
Syntax
public static class BrandHelper
Methods
GetBrand(String)
Get the object enum of the Brand by the informed paymentSchemeKey.
Declaration
public static Brand GetBrand(string paymentSchemeKey)
Parameters
Type | Name | Description |
---|---|---|
System.String | paymentSchemeKey | Identify brand on Account Ranger. |
Returns
Type | Description |
---|---|
Brand | Enumerator that represent brands. |
Examples
Foo class used in this example.
public class Foo
{
public Brand GetBrand(string paymentSchemeKey) => BrandHelper.GetBrand(paymentSchemeKey);
}