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

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
public static ObjectQuery<PaymentOptionInfo> GetPaymentOptionsForShipping(
	int shippingId,
	bool onlyEnabled = false
)

Parameters

shippingId
Type: SystemInt32
Id of the sipping option
onlyEnabled (Optional)
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