The CRegistration type exposes the following members.

Methods

  NameDescription
Public methodAddLinkedFunctions
Add CRegistrationLineItem objects for all the linked functions for each CRegistrationLineItem present in the CRegistration. If a linked function is already present in the registration, it is ignored.
Public methodAutoEnroll
Auto enroll for the Event's functions which are specified AutoEnroll. Add CRegistrationLineItem objects for all the functions specified as AutoEnroll. If a function is already present in the registration, it is ignored.
Protected methodCalcFreightTotal()()()()
Convenience method to calculate the total freight charge for this order.
(Inherited from COrder.)
Protected methodCalcFreightTotal(Boolean)
Worker method to calculate the total freight charge for this order.
(Inherited from COrder.)
Protected methodCalcHandlingTotal
Calculates the TotalHandling amount based on the handling type.
(Inherited from COrder.)
Protected methodCheckAndModifyEditStatus
Sets the EditStatus to Modified if it is Unchanged
(Inherited from iboBase.)
Public methodClearBadges
Remove all CBadge objects associated with this CRegistration
Public methodClearOrderLines
Remove all associated CRegistrationLineItem objects.
(Overrides COrder..::..ClearOrderLines()()()().)
Public methodDelete
Marks this object to be deleted when the save is done
(Inherited from iboBase.)
Protected methodDetermineOrderFinancialEntity
Figure out the financial entity code for the COrder, either from a system default or from the financial entity code found on the first product on the order that has one.
(Inherited from COrder.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetFreightCharge
Calculate the freight charge with the current set of properties, but with a particular shipping method.
(Inherited from COrder.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetOrderLineByNum
Given the line number on an COrder returns the COrderLine with that line number.
(Inherited from COrder.)
Public methodGetRegistrationLineItemByFuncCode
Find an existing CRegistrationLineItem for given function code.
Public methodGetShippingCosts
Returns all possible Shipping Methods and their costs.
(Inherited from COrder.)
Public methodGetShippingCostsForAllShippingMethods
Generate a collection of all possible charges for existing ship methods.
(Inherited from COrder.)
Public methodGetShippingCostsForEligibleShipMethods
Generate a collection of all eligible shipping methods and charges based on a country when Freight-By-Weight is selected.
(Inherited from COrder.)
Protected methodGetTaxAuthorities (Inherited from COrder.)
Protected methodGetTaxAuthorityVAT
Determines whether the buyer should be taxed and for which country.
(Inherited from COrder.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNewBadge
Creates a new CBadge object for this CRegistration.
Public methodNewLineItem(String, Double)
Add a new CRegistrationLineItem object, adding any linked functions automatically.
Public methodNewLineItem(String, Double, Boolean)
Add a new CRegistrationLineItem object.
Protected methodRecalc
Recalculates tax, order line amounts, and freight and handling (and their corresponding taxes) based upon the parameters.
(Inherited from COrder.)
Protected methodRecalcFreightHandlingTax
Recalculates the freight, handling, and tax for the COrder.
(Inherited from COrder.)
Public methodRemoveOrderLine
Removes the given COrderLine from the COrder.
(Inherited from COrder.)
Public methodSave()()()()
Saves the Registration along with all of its child records to the database using a new DataServer object.
(Overrides COrder..::..Save()()()().)
Public methodSave(DataServer)
Saves the CRegistration along with all of its child records to the database using the supplied DataServer.
(Overrides COrder..::..Save(DataServer).)
Public methodSaveContactChanges
Save any changes to the Contact associated with this COrder.
(Inherited from COrder.)
Protected methodSetBalance
Sets the Balance on the COrder. Only available to derived classes.
(Inherited from COrder.)
Public methodSetBatchNumberFromBatch
Set the batchnumber and batch for this COrder.
(Inherited from COrder.)
Protected methodSetCashGLAccount
Sets the CashGLAccount on the COrder. Only available to derived classes.
(Inherited from COrder.)
Protected methodSetFundRaisingOrder
Sets IsFundRaisingOrder on the COrder. Only available to derived classes.
(Inherited from COrder.)
Public methodSetOrderNumber
Sets the OrderNumber on the COrder. MUST BE USED WITH CAUTION.
(Inherited from COrder.)
Protected methodSetOrderStage(String)
Sets the Stage on the COrder. Only available to derived classes.
(Inherited from COrder.)
Protected methodSetOrderStage(OrderStage)
Sets the Stage on the COrder. Only available to derived classes.
(Inherited from COrder.)
Protected methodSetRecognizedCashAmount
Sets the RecognizedCashAmount on the COrder. Only available to derived classes.
(Inherited from COrder.)
Protected methodSetTransPAYGlAccount
Sets the GL Account number to be used on the PAY Transaction when saving the COrder.
(Inherited from COrder.)
Protected methodSetTransPAYGlAcctFinancialEntityCode
Sets the Financial Entity Code to be used on the PAY Transaction when saving the COrder.
(Inherited from COrder.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodValidate
Validate this CRegistration object and all child CRegistrationLineItem objects.
(Overrides COrder..::..Validate()()()().)

See Also