TransactionLibrary
Ucommerce.Api.ITransactionLibrary
Methods
HasBasket
-
Arguments
- This method is called without any arguments
- Return type
Boolean
GetBasket
-
Arguments
Booleancreate = False
- Return type
Ucommerce.EntitiesV2.PurchaseOrder
NewBasket
-
Arguments
stringcatalogName
- Return type
Ucommerce.EntitiesV2.Basket
GetPurchaseOrderByPaymentReference
-
Arguments
stringpaymentReferenceId
- Return type
Ucommerce.EntitiesV2.PurchaseOrder
GetPurchaseOrder
-
Arguments
stringorderNumberBooleanvalidateForCurrentMember = False
- Return type
Ucommerce.EntitiesV2.PurchaseOrder
GetPurchaseOrder
-
Arguments
Guidguid
- Return type
Ucommerce.EntitiesV2.PurchaseOrder
AddToBasket
-
Arguments
intquantityGuidproductIdGuid?variantId = nullDecimal?unitPrice = nullGuid?priceGroupId = nullBooleanaddToExistingLine = TrueBooleanexecuteBasketPipeline = TrueIDictionary<string, Object>properties = null
- Return type
Ucommerce.EntitiesV2.OrderLine
AddToBasket
-
Arguments
intquantitystringskustringvariantSku = nullDecimal?unitPrice = nullGuid?priceGroupId = nullBooleanaddToExistingLine = TrueBooleanexecuteBasketPipeline = TrueIDictionary<string, Object>properties = null
- Return type
Ucommerce.EntitiesV2.OrderLine
UpdateLineItemByOrderLineId
-
Arguments
intorderLineIdintnewQuantity
- Return type
Void
UpdateLineItem
-
Arguments
intlineItemIndexintnewQuantity
- Return type
Void
DeleteLineItem
-
Arguments
intlineItemIndex
- Return type
Void
ClearBasket
-
Arguments
- This method is called without any arguments
- Return type
Void
Checkout
-
Arguments
- This method is called without any arguments
- Return type
Ucommerce.EntitiesV2.PurchaseOrder
AssignOrderNumber
-
Arguments
stringorderNumber = null
- Return type
string
ExecuteOrderPipeline
-
Arguments
stringpipelineName
- Return type
Void
ExecuteBasketPipeline
-
Arguments
- This method is called without any arguments
- Return type
Void
SetPurchaseOrderNote
-
Arguments
stringnote
- Return type
Void
SetOrderProperty
-
Arguments
intlineItemIndexstringkeystringvalue
- Return type
Void
SetOrderProperty
-
Arguments
stringkeystringvalue
- Return type
Void
EditBillingInformation
-
Arguments
stringfirstNamestringlastNamestringemailAddressstringphoneNumberstringmobilePhoneNumberstringcompanystringline1stringline2stringpostalCodestringcitystringstatestringattentionintcountryId
- Return type
Void
EditShippingInformation
-
Arguments
stringfirstNamestringlastNamestringemailAddressstringphoneNumberstringmobilePhoneNumberstringcompanystringline1stringline2stringpostalCodestringcitystringstatestringattentionintcountryId
- Return type
Void
EditShipmentInformation
-
Arguments
stringaddressNamestringfirstNamestringlastNamestringemailAddressstringphoneNumberstringmobilePhoneNumberstringcompanystringline1stringline2stringpostalCodestringcitystringstatestringattentionintcountryId
- Return type
Void
EditCustomerAddress
-
Arguments
stringaddressNamestringfirstNamestringlastNamestringemailAddressstringphoneNumberstringmobilePhoneNumberstringcompanystringline1stringline2stringpostalCodestringcitystringstatestringattentionintcountryId
- Return type
Void
EditOrderAddress
-
Arguments
stringaddressNamestringfirstNamestringlastNamestringemailAddressstringphoneNumberstringmobilePhoneNumberstringcompanystringline1stringline2stringpostalCodestringcitystringstatestringattentionintcountryId
- Return type
Void
GetPaymentMethods
- Description
Gets the payment methods. -
Arguments
stringshippingAddressName = null: Name of the shipping address.
- Return type
ICollection<Ucommerce.EntitiesV2.PaymentMethod>
GetPaymentMethods
- Description
Gets the payment methods. -
Arguments
Ucommerce.EntitiesV2.Countrycountry: The country.
- Return type
ICollection<Ucommerce.EntitiesV2.PaymentMethod>
GetPaymentMethods
- Description
Gets the payment methods. -
Arguments
Ucommerce.Search.Models.ProductCatalogGroupproductCatalogGroup: The product catalog groupUcommerce.EntitiesV2.Countrycountry: The country.
- Return type
ICollection<Ucommerce.EntitiesV2.PaymentMethod>
CreatePayment
-
Arguments
intpaymentMethodId
- Return type
Ucommerce.EntitiesV2.Payment
CreatePayment
-
Arguments
intpaymentMethodIdDecimalamount
- Return type
Ucommerce.EntitiesV2.Payment
CreatePayment
-
Arguments
intpaymentMethodIdDecimalamountBooleanrequestPayment
- Return type
Ucommerce.EntitiesV2.Payment
CreatePayment
- Description
Creates the payment. -
Arguments
intpaymentMethodId: The payment method id.Decimalamount: The amount.BooleanrequestPayment: if set to true [request payment].BooleanoverwriteExisting: if set to true [overwrite existing].
- Return type
Ucommerce.EntitiesV2.Payment
RenderPaymentForm
- Description
Renders the payment form. -
Arguments
stringpaymentIdentifier: The payment identifier.
- Return type
string
RequestPayment
- Description
Requests the payment. -
Arguments
intpaymentId: The payment id.
- Return type
Void
GetPaymentPageUrl
-
Arguments
Ucommerce.EntitiesV2.Paymentpayment
- Return type
string
GetCountries
-
Arguments
- This method is called without any arguments
- Return type
ICollection<Ucommerce.EntitiesV2.Country>
GetShippingMethods
-
Arguments
stringshippingAddressName = null
- Return type
ICollection<Ucommerce.EntitiesV2.ShippingMethod>
GetShippingMethod
-
Arguments
stringaddressName = null
- Return type
Ucommerce.EntitiesV2.ShippingMethod
GetShippingMethods
-
Arguments
Ucommerce.EntitiesV2.Countrycountry
- Return type
ICollection<Ucommerce.EntitiesV2.ShippingMethod>
GetShippingMethods
-
Arguments
Ucommerce.Search.Models.ProductCatalogGroupproductCatalogGroupUcommerce.EntitiesV2.Countrycountry
- Return type
ICollection<Ucommerce.EntitiesV2.ShippingMethod>
CreateShipment
-
Arguments
intshippingMethodIdstringaddressNameBooleanoverwriteExisting = True
- Return type
Void
DeleteShipment
-
Arguments
intshipmentId
- Return type
Void
GetShippingInformation
-
Arguments
stringaddressName = null
- Return type
Ucommerce.EntitiesV2.OrderAddress
GetBillingInformation
-
Arguments
- This method is called without any arguments
- Return type
Ucommerce.EntitiesV2.OrderAddress
GetMemberOrderHistory
-
Arguments
stringstatusName = nullBooleanallCatalogGroups = False
- Return type
ICollection<Ucommerce.EntitiesV2.PurchaseOrder>
SendEmail
-
Arguments
stringemailTypeNamestringorderNumber
- Return type
Void
SendEmail
-
Arguments
stringreceiverEmailAddressstringemailTypeNamestringorderNumber
- Return type
Void
FormatCurrency
-
Arguments
stringamount
- Return type
string
FormatCurrency
-
Arguments
Decimal?amount
- Return type
string
FormatCurrency
-
Arguments
stringamountstringcultureCode
- Return type
string
FormatCurrency
-
Arguments
Decimal?amountstringcultureCode
- Return type
string