SAP Spartacus 读取payment detail数据的API
url:https://spartacus-dev0.eastus.cloudapp.azure.com:9002/occ/v2/electronics-spa/users/current/paymentdetails?saved=true&lang=en&curr=USD
数据明细:
{"payments" : [ {"accountHolderName" : "jerry","billingAddress" : {"country" : {"isocode" : "CN"},"defaultAddress" : false,"firstName" : "Jerry","formattedAddress" : "天府软件园 , Beijing, Yueyang, 610093","id" : "8796484730903","lastName" : "Wang","line1" : "天府软件园 ","phone" : "13981888888","postalCode" : "610093","region" : {"isocode" : "CN-11"},"town" : "Yueyang"},"cardNumber" : "************0000","cardType" : {"code" : "visa","name" : "Visa"},"defaultPayment" : true,"expiryMonth" : "4","expiryYear" : "2023","id" : "8796204793898","saved" : true,"subscriptionId" : "3356c595-ec9e-4ff6-9f27-dcddfbf79a24"}, {"accountHolderName" : "Jerry","billingAddress" : {"country" : {"isocode" : "CN"},"defaultAddress" : false,"firstName" : "Jerry","formattedAddress" : "天府软件园 , Beijing, Yueyang, 610093","id" : "8796484108311","lastName" : "Wang","line1" : "天府软件园 ","phone" : "13981888888","postalCode" : "610093","region" : {"isocode" : "CN-11"},"town" : "Yueyang"},"cardNumber" : "************3066","cardType" : {"code" : "visa","name" : "Visa"},"defaultPayment" : false,"expiryMonth" : "5","expiryYear" : "2023","id" : "8796204433450","saved" : true,"subscriptionId" : "1c589c43-8762-4a93-82fa-290a0c10bc69"} ]
}
SAP Spartacus 读取payment detail数据的API相关推荐
- SAP Spartacus 读取 Cart 的原理分析
App.module.ts 的源代码: export class AppModule { constructor(private config: DebugConfig,private actions ...
- SAP Spartacus Unit List树形数据的加载触发时机
数据加载的url: https://spartacus-dev0.eastus.cloudapp.azure.com:9002/occ/v2/powertools-spa/users/current/ ...
- SAP Spartacus读取User Address的请求发送和接收源头
先看请求响应的接收源头: 文件:projects\core\src\user\store\effects\user-addresses.effect.ts 接收应用程序发送过来的UserActions ...
- SAP Spartacus读取User Address的action是如何被Effect接收的
入口是shipping-address.component.ts的ngOnInit hook: 读取当前user ID后,将id传入回调函数,在回调函数里dispatch一个UserActions.L ...
- 如何访问SAP Spartacus里的config数据
App module里调用ConfigModule.withConfig注入配置,调用两次withConfig,传入的参数会进行合并: ConfigModule.withConfig({cmsComp ...
- SAP Spartacus Unit List树形数据的加载
如下图所示: 加载成功后(Load Tree Success),loading由true变为false: kristest没有children: Rustic retail有153个节点: HTTP请 ...
- SAP Spartacus Org unit detail实例的单例特性
无论怎么切换左边的行项目,右边的Component始终为同一个实例,也就是说,onInit只会触发一次.
- SAP Spartacus 如何使用 API 从浏览器 local Storage 读取数据
如下图所示,SAP 电商云 UI,用户的购物车 ID,持久化在浏览器的 local storage 里: 运行时,通过封装好的函数 getStorage 读取: 为什么会触发 State module ...
- SAP Commerce Cloud WCMS 里的 home 页面和 SAP Spartacus Page API 返回的数据比较
You can only create new components in the WCMS Page View perspective. In the Live Edit perspective, ...
最新文章
- 【OpenCV】透视变换 Perspective Transformation(续)
- xvfb-run: error: xauth command not found 解决方式
- 关于picgo中阿里云图床的设置
- 图文解释Glados自动签到免费获取天数(github action版)
- Redis入门(一)之安装
- Flink的并行度和Kafka的partition的结合
- jq ajax调用php函数,jQuery
- VB计算文本文件的行数
- 必看!建立内部邮件服务器注意要点
- AutopilotSim2驾驶模拟器使用
- 如何深入学习Android系统
- Django简单入门
- pr用什么显卡比较好_Adobe Premiere视频渲染用的显卡该怎么选?
- 大淘客cms源码修改二次开发实现淘京拼三合一功能
- 我的软件开发理念和流程
- 把撒哈拉沙漠变成一个太阳能农场,这可能吗?
- android电脑手柄游戏平台,玩转PC、安卓TV、Stam平台等多平台的游戏手柄——北通斯巴达2...
- error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
- 在家无聊?16篇最新推荐系统论文送你
- shell脚本获取OpenSSH版本