Fix GetProductPriceInfo response (#152)
This commit is contained in:
		@@ -2130,10 +2130,6 @@ type GetProductPriceInfoFilter struct {
 | 
				
			|||||||
type GetProductPriceInfoResponse struct {
 | 
					type GetProductPriceInfoResponse struct {
 | 
				
			||||||
	core.CommonResponse
 | 
						core.CommonResponse
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	Result GetProductPriceInfoResult `json:"result"`
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
type GetProductPriceInfoResult struct {
 | 
					 | 
				
			||||||
	// Products list
 | 
						// Products list
 | 
				
			||||||
	Items []GetProductPriceInfoResultItem `json:"items"`
 | 
						Items []GetProductPriceInfoResultItem `json:"items"`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -2146,7 +2142,7 @@ type GetProductPriceInfoResult struct {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
type GetProductPriceInfoResultItem struct {
 | 
					type GetProductPriceInfoResultItem struct {
 | 
				
			||||||
	// Maximum acquiring fee
 | 
						// Maximum acquiring fee
 | 
				
			||||||
	Acquiring int32 `json:"acquiring"`
 | 
						Acquiring float64 `json:"acquiring"`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Commissions information
 | 
						// Commissions information
 | 
				
			||||||
	Commissions GetProductPriceInfoResultItemCommission `json:"commissions"`
 | 
						Commissions GetProductPriceInfoResultItemCommission `json:"commissions"`
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2155,11 +2155,10 @@ func TestGetProductPriceInfo(t *testing.T) {
 | 
				
			|||||||
				},
 | 
									},
 | 
				
			||||||
			},
 | 
								},
 | 
				
			||||||
			`{
 | 
								`{
 | 
				
			||||||
				"result": {
 | 
					 | 
				
			||||||
				"cursor": "string",
 | 
									"cursor": "string",
 | 
				
			||||||
				"items": [
 | 
									"items": [
 | 
				
			||||||
				{
 | 
									{
 | 
				
			||||||
					  "acquiring": 0,
 | 
										"acquiring": 0.5,
 | 
				
			||||||
					"commissions": {
 | 
										"commissions": {
 | 
				
			||||||
					"fbo_deliv_to_customer_amount": 14.75,
 | 
										"fbo_deliv_to_customer_amount": 14.75,
 | 
				
			||||||
					"fbo_direct_flow_trans_max_amount": 46.5,
 | 
										"fbo_direct_flow_trans_max_amount": 46.5,
 | 
				
			||||||
@@ -2222,7 +2221,6 @@ func TestGetProductPriceInfo(t *testing.T) {
 | 
				
			|||||||
				}
 | 
									}
 | 
				
			||||||
				],
 | 
									],
 | 
				
			||||||
				"total": 0
 | 
									"total": 0
 | 
				
			||||||
				}
 | 
					 | 
				
			||||||
			}`,
 | 
								}`,
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		// Test No Client-Id or Api-Key
 | 
							// Test No Client-Id or Api-Key
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user