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
- Description
Gets the payment methods. -
Arguments
string
shippingAddressName = null: Name of the shipping address.
- Return type
ICollection<Ucommerce.EntitiesV2.PaymentMethod>
GetPaymentMethods
- Description
Gets the payment methods. -
Arguments
Ucommerce.EntitiesV2.Country
country: The country.
- Return type
ICollection<Ucommerce.EntitiesV2.PaymentMethod>
GetPaymentMethods
- Description
Gets the payment methods. -
Arguments
Ucommerce.Search.Models.ProductCatalogGroup
productCatalogGroup: The product catalog groupUcommerce.EntitiesV2.Country
country: The 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
- Description
Creates the payment. -
Arguments
int
paymentMethodId: The payment method id.Decimal
amount: The amount.Boolean
requestPayment: if set to true [request payment].Boolean
overwriteExisting: if set to true [overwrite existing].
- Return type
Ucommerce.EntitiesV2.Payment
RenderPaymentForm
- Description
Renders the payment form. -
Arguments
string
paymentIdentifier: The payment identifier.
- Return type
string
RequestPayments
-
Arguments
- This method is called without any arguments
- Return type
Void
RequestPayment
- Description
Requests the payment. -
Arguments
int
paymentId: The payment id.
- 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