# CoBrand

enum CoBrand : Enum<Card.CoBrand>

The card's co-brand if available. For example, an Afterpay virtual card would have a co-brand of AFTERPAY.

## Entries

AFTERPAY
Link copied to clipboard
AFTERPAY

AFTERPAY is AfterPay's name in non-European markets.

CLEARPAY
Link copied to clipboard
CLEARPAY

CLEARPAY is AfterPay's name in European markets, after a trademark dispute.

NONE
Link copied to clipboard
NONE

NONE is used when v2/payments doesn't report any co-brand, which is the most common case.

UNKNOWN
Link copied to clipboard
UNKNOWN

UNKNOWN is used when v2/payments reports UNKNOWN... there is a co-brand, but Square doesn't recognize it.

## Properties

entries
Link copied to clipboard
val entries: EnumEntries<Card.CoBrand>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int

## Functions

valueOf
Link copied to clipboard
fun valueOf(value: String): Card.CoBrand

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

values
Link copied to clipboard
fun values(): Array<Card.CoBrand>

Returns an array containing the constants of this enum type, in the order they're declared.