GiniMerchantImage
public enum GiniMerchantImage : String
The GiniMerchantImage enumeration provides a convenient way to manage image assets within the Gini SDK, supporting customization for both light and dark modes. Each case in the enumeration represents a specific image asset used by the SDK.
Note
The raw values for each case correspond to the image asset names in the asset catalog.-
Undocumented
Declaration
Swift
case logo = "gm.giniLogo"
-
Undocumented
Declaration
Swift
case info = "gm.infoCircle"
-
Undocumented
Declaration
Swift
case close = "gm.close"
-
Undocumented
Declaration
Swift
case more = "gm.more"
-
Undocumented
Declaration
Swift
case plus = "gm.plus"
-
Undocumented
Declaration
Swift
case minus = "gm.minus"
-
Undocumented
Declaration
Swift
case appStore = "gm.appStoreIcon"
-
Undocumented
Declaration
Swift
case chevronDown = "gm.iconChevronDown"
-
Undocumented
Declaration
Swift
case selectionIndicator = "gm.selectionIndicator"
-
Undocumented
Declaration
Swift
case paymentReviewClose = "gm.paymentReviewClose"
-
Undocumented
Declaration
Swift
case lock = "gm.iconInputLock"
-
Retrieves an image corresponding to the enumeration case, prioritizing the client’s bundle. If the image is not found in the client’s bundle, it attempts to load the image from the Gini Merchant SDK bundle.
Declaration
Swift
public func preferredUIImage() -> UIImage
Return Value
An UIImage instance corresponding to the enumeration case. If the image cannot be found in either the client’s bundle or the Gini Merchant SDK bundle, the method triggers a runtime error.