Click or drag to resize
PaymentOptionInfoProviderGetPaymentOptionsForShippingInternal Method
Returns query for payment options bound to specified shipping option.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
protected virtual ObjectQuery<PaymentOptionInfo> GetPaymentOptionsForShippingInternal(
	int shippingId,
	bool onlyEnabled
)

Parameters

shippingId
Type: SystemInt32
Id of the sipping option
onlyEnabled
Type: SystemBoolean
True - only enabled payment options from the specified shipping option are returned. False - all options bound to shipping are returned

Return Value

Type: ObjectQueryPaymentOptionInfo
See Also