Click or drag to resize
PaymentOptionInfoProviderDeletePaymentOptionInfo Method (PaymentOptionInfo)

Note: This API is now obsolete.

Deletes specified payment option.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IPaymentOptionInfoProvider.Delete(PaymentOptionInfo) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - PaymentOptionInfo.Provider.")]
public static void DeletePaymentOptionInfo(
	PaymentOptionInfo optionObj
)

Parameters

optionObj
Type: CMS.EcommercePaymentOptionInfo
Payment option to be deleted
See Also