TransactionLibrary
Ucommerce.Api.ITransactionLibrary
Methods
HasBasket
-
Arguments
- This method is called without any arguments
- Return type
Boolean
GetBasket
-
Arguments
Boolean
create = False
- Return type
Ucommerce.EntitiesV2.PurchaseOrder
NewBasket
-
Arguments
string
catalogName
- Return type
Ucommerce.EntitiesV2.Basket
GetPurchaseOrderByPaymentReference
-
Arguments
string
paymentReferenceId
- Return type
Ucommerce.EntitiesV2.PurchaseOrder
GetPurchaseOrder
-
Arguments
string
orderNumberBoolean
validateForCurrentMember = False
- Return type
Ucommerce.EntitiesV2.PurchaseOrder
GetPurchaseOrder
-
Arguments
Guid
guid
- Return type
Ucommerce.EntitiesV2.PurchaseOrder
AddToBasket
-
Arguments
int
quantityGuid
productIdGuid?
variantId = nullDecimal?
unitPrice = nullGuid?
priceGroupId = nullBoolean
addToExistingLine = TrueBoolean
executeBasketPipeline = TrueIDictionary<string, Object>
properties = null
- Return type
Ucommerce.EntitiesV2.OrderLine
AddToBasket
-
Arguments
int
quantitystring
skustring
variantSku = nullDecimal?
unitPrice = nullGuid?
priceGroupId = nullBoolean
addToExistingLine = TrueBoolean
executeBasketPipeline = TrueIDictionary<string, Object>
properties = null
- Return type
Ucommerce.EntitiesV2.OrderLine
UpdateLineItemByOrderLineId
-
Arguments
int
orderLineIdint
newQuantity
- Return type
Void
UpdateLineItem
-
Arguments
int
lineItemIndexint
newQuantity
- Return type
Void
DeleteLineItem
-
Arguments
int
lineItemIndex
- 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
string
orderNumber = null
- Return type
string
ExecuteOrderPipeline
-
Arguments
string
pipelineName
- Return type
Void
ExecuteBasketPipeline
-
Arguments
- This method is called without any arguments
- Return type
Void
SetPurchaseOrderNote
-
Arguments
string
note
- Return type
Void
SetOrderProperty
-
Arguments
int
lineItemIndexstring
keystring
value
- Return type
Void
SetOrderProperty
-
Arguments
string
keystring
value
- Return type
Void
EditBillingInformation
-
Arguments
string
firstNamestring
lastNamestring
emailAddressstring
phoneNumberstring
mobilePhoneNumberstring
companystring
line1string
line2string
postalCodestring
citystring
statestring
attentionint
countryId
- Return type
Void
EditShippingInformation
-
Arguments
string
firstNamestring
lastNamestring
emailAddressstring
phoneNumberstring
mobilePhoneNumberstring
companystring
line1string
line2string
postalCodestring
citystring
statestring
attentionint
countryId
- Return type
Void
EditShipmentInformation
-
Arguments
string
addressNamestring
firstNamestring
lastNamestring
emailAddressstring
phoneNumberstring
mobilePhoneNumberstring
companystring
line1string
line2string
postalCodestring
citystring
statestring
attentionint
countryId
- Return type
Void
EditCustomerAddress
-
Arguments
string
addressNamestring
firstNamestring
lastNamestring
emailAddressstring
phoneNumberstring
mobilePhoneNumberstring
companystring
line1string
line2string
postalCodestring
citystring
statestring
attentionint
countryId
- Return type
Void
EditOrderAddress
-
Arguments
string
addressNamestring
firstNamestring
lastNamestring
emailAddressstring
phoneNumberstring
mobilePhoneNumberstring
companystring
line1string
line2string
postalCodestring
citystring
statestring
attentionint
countryId
- Return type
Void
GetPaymentMethods
-
Arguments
string
shippingAddressName = null
- Return type
ICollection<Ucommerce.EntitiesV2.PaymentMethod>
GetPaymentMethods
-
Arguments
Ucommerce.EntitiesV2.Country
country
- Return type
ICollection<Ucommerce.EntitiesV2.PaymentMethod>
GetPaymentMethods
-
Arguments
Ucommerce.Search.Models.ProductCatalogGroup
productCatalogGroupUcommerce.EntitiesV2.Country
country
- Return type
ICollection<Ucommerce.EntitiesV2.PaymentMethod>
CreatePayment
-
Arguments
int
paymentMethodId
- Return type
Ucommerce.EntitiesV2.Payment
CreatePayment
-
Arguments
int
paymentMethodIdDecimal
amount
- Return type
Ucommerce.EntitiesV2.Payment
CreatePayment
-
Arguments
int
paymentMethodIdDecimal
amountBoolean
requestPayment
- Return type
Ucommerce.EntitiesV2.Payment
CreatePayment
-
Arguments
int
paymentMethodIdDecimal
amountBoolean
requestPaymentBoolean
overwriteExisting
- Return type
Ucommerce.EntitiesV2.Payment
RenderPaymentForm
-
Arguments
string
paymentIdentifier
- Return type
string
RequestPayments
-
Arguments
- This method is called without any arguments
- Return type
Void
RequestPayment
-
Arguments
int
paymentId
- Return type
Void
GetPaymentPageUrl
-
Arguments
Ucommerce.EntitiesV2.Payment
payment
- Return type
string
GetCountries
-
Arguments
- This method is called without any arguments
- Return type
ICollection<Ucommerce.EntitiesV2.Country>
GetShippingMethods
-
Arguments
string
shippingAddressName = null
- Return type
ICollection<Ucommerce.EntitiesV2.ShippingMethod>
GetShippingMethod
-
Arguments
string
addressName = null
- Return type
Ucommerce.EntitiesV2.ShippingMethod
GetShippingMethods
-
Arguments
Ucommerce.EntitiesV2.Country
country
- Return type
ICollection<Ucommerce.EntitiesV2.ShippingMethod>
GetShippingMethods
-
Arguments
Ucommerce.Search.Models.ProductCatalogGroup
productCatalogGroupUcommerce.EntitiesV2.Country
country
- Return type
ICollection<Ucommerce.EntitiesV2.ShippingMethod>
CreateShipment
-
Arguments
int
shippingMethodIdstring
addressNameBoolean
overwriteExisting = True
- Return type
Void
DeleteShipment
-
Arguments
int
shipmentId
- Return type
Void
GetShippingInformation
-
Arguments
string
addressName = null
- Return type
Ucommerce.EntitiesV2.OrderAddress
GetBillingInformation
-
Arguments
- This method is called without any arguments
- Return type
Ucommerce.EntitiesV2.OrderAddress
GetMemberOrderHistory
-
Arguments
string
statusName = nullBoolean
allCatalogGroups = False
- Return type
ICollection<Ucommerce.EntitiesV2.PurchaseOrder>
SendEmail
-
Arguments
string
emailTypeNamestring
orderNumber
- Return type
Void
SendEmail
-
Arguments
string
receiverEmailAddressstring
emailTypeNamestring
orderNumber
- Return type
Void
FormatCurrency
-
Arguments
string
amount
- Return type
string
FormatCurrency
-
Arguments
Decimal?
amount
- Return type
string
FormatCurrency
-
Arguments
string
amountstring
cultureCode
- Return type
string
FormatCurrency
-
Arguments
Decimal?
amountstring
cultureCode
- Return type
string