PaymentOptionInfoProviderGetPaymentOptionsForShipping Method |
Returns query for payment options bound to specified shipping option.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax 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:
ObjectQueryPaymentOptionInfoSee Also