Click or drag to resize
PaymentResultInfoEnsurePaymentResultItemInfo Method
Tries to find specified payment result item (if it is not found it is created and initialized with item name and item header) and returns it.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
public PaymentResultItemInfo EnsurePaymentResultItemInfo(
	string itemName,
	string itemHeader
)

Parameters

itemName
Type: SystemString
Payment result item name to get
itemHeader
Type: SystemString
Payment result item header text which is set to the new item when requested item is not found

Return Value

Type: PaymentResultItemInfo
See Also