@ngx-y/yapi
v2.0.0
Published
AngularAccelerator: a sap-commerce storefront using angular. This is the implementation of B2B, B2C, CMS and EXT sap-commerce apis
Downloads
13
Readme
AngularAccelerator
A sap-commerce storefront using angular
This is the implementation of B2B, B2C, CMS, Coupons, Interests, Notification and EXT sap-commerce apis
Documentation
https://help.sap.com/doc/ccb4ef164f2341eeacbf9a1b2791eba8/1905/en-US/financialWebservices.html#_overview
How to
private query: 'iphone';
private pageNumber: 0;
private pageSize: 10;
constructor(productService: ProductService) {
productService.search({
query: this.query,
...this.pageSize ? {pageSize: this.pageSize} : {},
...this.pageNumber ? {currentPage: this.pageNumber} : {},
fields: FieldLevelMapping.FULL
}).subscribe(searchResult => console.log(searchResult));
}
Installing
npm install @ngx-y/yapi
Build
ng build yapi --prod
App Requirements
for B2C apis
ycommercewebservices
is a minimal requirement in yourlocalextensions.xml
oryocc
for 20.05for B2B apis,
b2boccaddon
is also required orb2bocc
extension starting 20.05for CMS apis,
cmsoccaddon
is required orcmsocc
extension starting 20.05for the rest
acceleratorwebservicesaddon
but other addons might be needed. Please consult sap documentationfor notifications
notificationocc
starting 20.05for customer interest
customerinterestsocc
starting 20.05for customer coupons
customercouponocc
starting 20.05oauth2
extension is needed for auth