1.1. 背景
背景:针对Allegro 业务新增退款及费用明细进行下载存储,供后期业务场景使用,仅下载好数据即可不做业务变化调整。
1.2. 验收目标
1.新增RB_Allergo_Payment_operations_history,数据表,并有数据显示。
2.新增RB_Allergo_History of billing operations,数据表,并有数据显示。
2. 功能设计
1. 新增RB_Allergo_Payment_operations_history
2. 新增RB_Allergo_History_of_billing_operations
2.1 RB_Allergo_Payment_operations_history
2.1.1 功能点描述:
其他描述:
Payment operations history
存储数据内容:
ordersourceid
wallet.type string
group": "INCOME",
paymentOperator": "PAYU",
paymentOperator_type": "AVAILABLE",
balance_amount": "123.45",
balance_currency": "PLN"
fund_value": {
fund_amount": "123.45",
fund_currency": "PLN"
date_occurredAt": "2019-05-08T09:45:00.818Z"
updatetime
count": 50,
totalCount": 123
逻辑描述:每日下前一日,各来源渠道数据,按日期下载。不更新替换。
请求参:日期
新增RB_Allergo_History_of_billing_operations
2.2 RB_Allergo_History_of_billing_operations
2.2.1 功能点描述:
存储数据内容:
ordersourceid
"occurredAt": "2019-05-08T09:45:32.818Z",
"type_id": "LIS",
"name"Listing fee"
"offer_id": "12345678",
offer_name": "offer name"
"amount": "100.00",
"currency": "PLN"
"tax_percentage": "0",
"tax_annotation": "OUT_OF_SCOPE"
"balance": {
"balance_amount": "100.00",
"balance_currency": "PLN"
"order_id": "09f0b4cc-7880-11e9-8f9e-2a86e4085a59"
逻辑描述:每日下前一日,各来源渠道数据,按日期下载。不更新替换。
请求参:日期

