Click or drag to resize

OrderHelper Class

Order business logic class.
Inheritance Hierarchy
SystemObject
  Atomia.Billing.Core.Sdk.BusinessLogicOrderHelper

Namespace:  Atomia.Billing.Core.Sdk.BusinessLogic
Assembly:  Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax
public class OrderHelper : IAdministratorBehavior

The OrderHelper type exposes the following members.

Constructors
  NameDescription
Public methodOrderHelper
Initializes a new instance of the OrderHelper class
Top
Methods
  NameDescription
Public methodStatic memberCalculateOrderLineDeliveryDate
Calculate delivery date for an ordered item (order line)
Public methodStatic memberCalculateTotalAmounts(Order)
Calculates the total amounts.
Public methodStatic memberCalculateTotalAmounts(IAtomiaBillingApi, Order) Obsolete.
Calculates total amounts for passed order.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodStatic memberFillOrderTaxes
Fills order lines with appropriate taxes (objects) depending on order line item.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberGetOrderById Obsolete.
Gets the order by id.
Public methodStatic memberGetOrderByInvoiceNumber Obsolete.
Gets the order by invoice number.
Public methodStatic memberGetOrderByNumber(String)
Gets the order by number.
Public methodStatic memberGetOrderByNumber(String, Guid)
Gets the order by number.
Public methodStatic memberGetOrderBySubscriptionId
Gets the order by subscription id.
Public methodStatic memberGetOrderLineTaxes(IAtomiaBillingApi, String, String, Guid, Guid, Guid, String, String) Obsolete.
Gets list of taxes for order line.
Public methodStatic memberGetOrderLineTaxes(IAtomiaBillingApi, String, String, Guid, Guid, Guid, String, String, String, String)
Gets list of taxes for order line.
Public methodStatic memberGetOrdersByInvoiceNumber
Gets the orders by invoice number.
Public methodStatic memberGetOrdersForCustomer
Gets all non deleted orders for a customer.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberListByStatuses
Lists orders by statuses.
Public methodStatic memberListForCustomer
Lists orders by statuses.
Public methodStatic memberListForReminder
Gets list of orders for reminder.
Public methodStatic memberListOrdersByInvoiceNumber
Lists the orders by invoice number.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberProrateShouldBeApplied(Item, Order)
Checks if prorate should be applied on price.
Public methodStatic memberProrateShouldBeApplied(Item, OrderLine)
Checks if prorate should be applied on price.
Public methodStatic memberProrateShouldBeAppliedAlignmentCart
Checks if prorate should be applied on price for the subscription which is alligned to some other subscription
Public methodStatic memberProrateShouldBeAppliedAlignmentOrder
Checks if prorate should be applied on price for the subscription which is alligned to some other subscription
Public methodStatic memberResolveCustomAttribute
Resolves the custom attribute.
Public methodStatic memberShouldBeAlignedWithMainSubscription(Item, Subscription)
Checks whether items should be aligned with main subscription.
Public methodStatic memberShouldBeAlignedWithMainSubscription(IAtomiaBillingApi, OrderLine, Subscription)
Checks whether order items should be aligned with main subscription.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberUpdateOrderLinePricesAndRenewalPeriod(OrderLine, Item, Currency, Guid)
Update the following attributes on order line: Price, ResellerPrice, RenwalPeriod, RenewalPeriodUnit
Public methodStatic memberUpdateOrderLinePricesAndRenewalPeriod(OrderLine, Item, Currency, Guid, Subscription)
Update the following attributes on order line: Price, ResellerPrice, RenwalPeriod, RenewalPeriodUnit
Top
See Also