Click or drag to resize

ShoppingCartServiceForPrimaryOrganization Class

Provides services for managing a NetFORUM server-side shopping cart, owned by the primary organization of currently logged in Ignition user
Inheritance Hierarchy
SystemObject
  Ignition.Commerce.ShoppingShoppingCartService
    Ignition.Commerce.ShoppingShoppingCartServiceForPrimaryOrganization

Namespace: Ignition.Commerce.Shopping
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.28229
Syntax
public class ShoppingCartServiceForPrimaryOrganization : ShoppingCartService

The ShoppingCartServiceForPrimaryOrganization type exposes the following members.

Constructors
 NameDescription
Public methodShoppingCartServiceForPrimaryOrganization Default constructor
Top
Properties
 NameDescription
Public propertyCart Returns the current state of the NetForum shopping cart
(Inherited from ShoppingCartService)
Protected propertyCartName A "name" for this shopping cart, used to correlate this instance of the service with a given NetFORUM server-side cart, when this feature is enabled.
(Inherited from ShoppingCartService)
Public propertyToken A "token" for this shopping cart, used to correlate this instance of the service with a given NetFORUM server-side cart.
(Inherited from ShoppingCartService)
Top
Methods
 NameDescription
Public methodAddCourseRegistration Adds an course registration to the shopping cart.
(Inherited from ShoppingCartService)
Public methodAddDonation(DonationOption) Adds a donor application to the shopping cart from a DonationOption, taking all defaults. If you would like to customize your DonorApplication before adding it to the cart, use IDonationShoppingService to directly generate a DonorApplication instead.
(Inherited from ShoppingCartService)
Public methodAddDonation(DonorApplication) Adds a donor application to the shopping cart
(Inherited from ShoppingCartService)
Public methodAddEventRegistration Adds an event registration to the shopping cart.
(Inherited from ShoppingCartService)
Public methodAddEventRegistrationAddendum Adds an event registration addendum to the shopping cart.
(Inherited from ShoppingCartService)
Public methodAddEventRegistrationGroup Adds a group event registration to the shopping cart.
(Inherited from ShoppingCartService)
Public methodAddEventSponsorship Adds an event sponsorship to the shopping cart.
(Inherited from ShoppingCartService)
Public methodAddExhibitorApplication Adds an exhibitor application to the shopping cart
(Inherited from ShoppingCartService)
Public methodAddHlo Adds a single new HLO (High Level Object) to the NetFORUM server-side shopping cart. This method should only be used if no other methods in IShoppingCartService can accomplish the desired result.
(Inherited from ShoppingCartService)
Public methodAddMembershipNew(IProduct, Object) Adds a new membership to the shopping cart This overload is intended to be used with membership packages retrieved via the InventoryProductRepository
(Inherited from ShoppingCartService)
Public methodAddMembershipNew(MembershipPackage, Object) Adds a new membership to the shopping cart
(Inherited from ShoppingCartService)
Public methodAddMembershipNew(MembershipPurchaseOption, Object) Adds a new membership to the shopping cart
(Inherited from ShoppingCartService)
Public methodAddMembershipRenewal(Membership, MembershipPackage, Object) Adds a renewal membership to the shopping cart.
(Inherited from ShoppingCartService)
Public methodAddMembershipRenewal(Membership, MembershipPurchaseOption, Object) Adds a renewal membership to the shopping cart.
(Inherited from ShoppingCartService)
Public methodAddOpenInvoice Adds an open invoice to the shopping cart.
(Inherited from ShoppingCartService)
Public methodAddProduct(IProduct, Decimal) Adds a product to the shopping cart, allowing NetForum to select the appropriate price
(Inherited from ShoppingCartService)
Public methodAddProduct(IProduct, IPrice, Decimal) Adds a product to the shopping cart with a specific price, bypassing NetForum's price selection mechanism
(Inherited from ShoppingCartService)
Public methodAddShippingMethod Adds a shipping method to be used for shippable items within the shopping cart. Does not replace previously set shipping methods. To replace existing shipping methods, use SetShippingMethod(ShippingMethod).
(Inherited from ShoppingCartService)
Public methodAddSubscription(SubscriptionPurchaseOption) Adds a subscription to the shopping cart
(Inherited from ShoppingCartService)
Public methodAddSubscription(IProduct, IPrice) Adds a subscription to the shopping cart
(Inherited from ShoppingCartService)
Public methodApplyCreditsTowardsBalance Applies the provided credit balance towards the pending purchase, applying credits in as close to the order provided as possible. Any previously applied credits will be removed.
(Inherited from ShoppingCartService)
Public methodApplyDiscount(Discount) Applies discount to the shopping cart.
(Inherited from ShoppingCartService)
Public methodApplyDiscount(String) Applies discountCode to the shopping cart.
(Inherited from ShoppingCartService)
Public methodApplyDiscountProgramVouchers Applies as many of the cart's Bill-To customer's discount program vouchers to the cart as possible.
(Inherited from ShoppingCartService)
Public methodApplyDiscountProgramVouchers(InvoiceDetailCartItem, IEnumerableString) Applies discount program vouchers matching the supplied codes, to the specified item. Vouchers specified must meet a number of criteria, see remarks for more information.
(Inherited from ShoppingCartService)
Public methodApplySourceCode(InvoiceSourceCode) Applies a source code to the shopping cart
(Inherited from ShoppingCartService)
Public methodApplySourceCode(String) Applies promotionalCode to the shopping cart
(Inherited from ShoppingCartService)
Protected methodAttemptToIdentify Attempts to associate NetFORUM server-side copy of the cart with the id returned by this service's current identity provider.
(Inherited from ShoppingCartService)
Protected methodCacheCart Replaces the currently cached Cart object with a new instance of IShoppingCartState, presumably because an underlying call to Flashpoint returned to us a more up-to-date representation of the cart
(Inherited from ShoppingCartService)
Public methodCalculateAmountDueTodayObsolete.
Calculates the minimum payment amount required to check out, given the provided billing settings.
(Inherited from ShoppingCartService)
Public methodCalculateTotalsForInstallmentCheckout Calculates payment amounts related to checking out with installment-billing settings.
(Inherited from ShoppingCartService)
Public methodChangeItemQuantity Changes the quantity of an item in the shopping cart.
(Inherited from ShoppingCartService)
Public methodCheckout(CheckoutOptions) Places an order on a cart whose amount due today is $0, without providing payment information
(Inherited from ShoppingCartService)
Public methodCheckout(AchPayment, CheckoutOptions) Places an order
(Inherited from ShoppingCartService)
Public methodCheckout(CashPayment, CheckoutOptions) Places an order where "cash" was used for payment
(Inherited from ShoppingCartService)
Public methodCheckout(CheckPayment, CheckoutOptions) Places an order where a check was used for payment
(Inherited from ShoppingCartService)
Public methodCheckout(CreditCardPayment, CheckoutOptions) Places an order
(Inherited from ShoppingCartService)
Public methodCheckout(SavedCreditCard, CheckoutOptions) Places an order
(Inherited from ShoppingCartService)
Public methodCheckout(AchPayment, Decimal, CheckoutOptions) Places an order
(Inherited from ShoppingCartService)
Public methodCheckout(CreditCardPayment, Decimal, CheckoutOptions) Places an order, specifying a fixed payment amount
(Inherited from ShoppingCartService)
Public methodCheckout(SavedCreditCard, Decimal, CheckoutOptions) Places an order, specifying a fixed payment amount
(Inherited from ShoppingCartService)
Public methodClearCredits Removes all credits that have been applied towards the pending purchase.
(Inherited from ShoppingCartService)
Public methodClearDiscountProgramVouchers Clear discount program vouchers applied to all items in the shopping cart.
(Inherited from ShoppingCartService)
Public methodClearDiscountProgramVouchers(InvoiceDetailCartItem) Clear discount program vouchers applied to a single item in the shopping cart.
(Inherited from ShoppingCartService)
Public methodClearDiscounts Removes all discounts from the shopping cart
(Inherited from ShoppingCartService)
Public methodClearItems Removes all cart items from the cart.
(Inherited from ShoppingCartService)
Public methodGetAvailableCredits Returns information about the available credit that might be applicable to purchases made through this shopping cart. Credits are limited to those held by the current cart owner, which have an available balance, and are not "coupons".
(Inherited from ShoppingCartService)
Public methodGetPaymentMethods Uses NetFORUM's baseline auto-detection mechanism to determine which payment methods are valid to be used when checking out with the current shopping cart.
(Inherited from ShoppingCartService)
Public methodGetShippingMethods Returns the available shipping methods based on the current state of the cart.
(Inherited from ShoppingCartService)
Public methodIdentify Forces a re-evaluation of the owner of the shopping cart. The contents of the cart may change as a result of this operation depending on internal NetFORUM business rules.
(Inherited from ShoppingCartService)
Public methodNew Creates a new NetForum shopping cart, replacing any existing shopping cart.
(Inherited from ShoppingCartService)
Public methodRemoveDiscount(AdditionalInvoiceDetailCartItem) Removes a discount from the shopping cart
(Inherited from ShoppingCartService)
Public methodRemoveDiscount(IDiscountCartItem)Obsolete.
Removes a discount from the shopping cart
(Inherited from ShoppingCartService)
Public methodRemoveItem(InvoiceDetailCartItem) Removes an invoice detail from the shopping cart.
(Inherited from ShoppingCartService)
Public methodRemoveItem(IStandardCartItem) Removes all of the an cart item and (all of its sub-items) from the shopping cart.
(Inherited from ShoppingCartService)
Public methodSetBillingAddress Sets the billing address of the shopping cart.
(Inherited from ShoppingCartService)
Public methodSetBillingContact Sets the billing contact of the shopping cart, which maps to the inv_ind_cst_billing_key field in NetFORUM.
(Inherited from ShoppingCartService)
Public methodSetBillToCustomer(ICustomerIdentity) Sets the bill-to customer of the shopping cart. This will persist even if the cart main customer is changed.
(Inherited from ShoppingCartService)
Public methodSetBillToCustomer(NetForumId) Sets the bill-to customer of the shopping cart. This will persist even if the cart main customer is changed.
(Inherited from ShoppingCartService)
Public methodSetShippingAddress Sets the shipping address of the entire shopping cart.
(Inherited from ShoppingCartService)
Public methodSetShippingMethod Sets the shipping method to be used for shippable items within the shopping cart. Replaces any and all previously set shipping methods. To add an additional shipping method, without replacing existing ones, use AddShippingMethod(ShippingMethod).
(Inherited from ShoppingCartService)
Public methodTryApplyDiscount Attempts to apply a discountCode to the shopping cart.
(Inherited from ShoppingCartService)
Public methodTryGetLastReceipt Get the receipt from the last successful checkout performed with this cart
(Inherited from ShoppingCartService)
Public methodUpdateCartItemValues(ICartItem, Object)Obsolete.

(Inherited from ShoppingCartService)
Public methodUpdateCartItemValues(InvoiceDetailCartItem, Object) Updates a single cart item (InvoiceDetail object) in the NetFORUM server-side shopping cart with new values. This method should only be used if no other methods in IShoppingCartService can accomplish the desired result.
(Inherited from ShoppingCartService)
Public methodUpdateCartValues Updates the NetFORUM server-side shopping cart (CentralizedOrderEntry object) with new values. This method should only be used if no other methods in IShoppingCartService can accomplish the desired result.
(Inherited from ShoppingCartService)
Public methodUpdateHloValues Updates a single HLO (High Level Object) in the NetFORUM server-side shopping cart with new values. This method should only be used if no other methods in IShoppingCartService can accomplish the desired result.
(Inherited from ShoppingCartService)
Public methodUpdateItemQuantityObsolete.
Updates the quantity of an invoice detail in the shopping cart.
(Inherited from ShoppingCartService)
Public methodUpdatePendingDonation Updates a single donation in the NetFORUM server-side shopping cart with new values.
(Inherited from ShoppingCartService)
Public methodUpdatePendingEventRegistration Updates a single pending event registration in the NetFORUM server-side shopping cart with new values.
(Inherited from ShoppingCartService)
Public methodUpdatePendingGroupRegistration Updates a single pending group registration in the NetFORUM server-side shopping cart with new values.
(Inherited from ShoppingCartService)
Public methodUpdatePendingMembership Updates a single pending membership in the NetFORUM server-side shopping cart with new values.
(Inherited from ShoppingCartService)
Top
Fields
 NameDescription
Public fieldStatic memberDefaultOrganizationCartName The default cart name, used if one is not specified via constructor parameter
Top
See Also