Skip to content

Commit

Permalink
Offers schema updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
shafaqat-ali-cms365 committed Oct 21, 2024
1 parent 1cf588a commit 98b5219
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 39 deletions.
4 changes: 2 additions & 2 deletions EbaySharp/Controllers/FinancesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ public FinancesController(string accessToken)
public async Task<Transactions> GetTransactions(SigningKey? signingKey, string filter, string sort, int limit = 0, int offset = 0)
{
string requestUrl = $"{Constants.APIZ_SERVER_URL}{Constants.SELL.ENDPOINT_URL}{Constants.SELL.FINANCES.ENDPOINT_URL}{string.Format(Constants.SELL.FINANCES.METHODS.GET_TRANSACTIONS, limit, offset)}";
requestUrl = string.IsNullOrEmpty(filter) ? requestUrl : "&filter=" + filter;
requestUrl = string.IsNullOrEmpty(sort) ? requestUrl : "&sort=" + sort;
requestUrl = string.IsNullOrEmpty(filter) ? requestUrl : $"{requestUrl}&filter=" + filter;
requestUrl = string.IsNullOrEmpty(sort) ? requestUrl : $"{requestUrl}&sort=" + sort;
return await new RequestExecuter().ExecuteGetRequest<Transactions>(requestUrl, $"Bearer {accessToken}", signingKey);
}

Expand Down
2 changes: 1 addition & 1 deletion EbaySharp/EbaySharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ApplicationIcon>EbaySharp_ico.ico</ApplicationIcon>
<PackageID>CMS365.EbaySharp</PackageID>
<Title>EbaySharp</Title>
<Version>8.1.0.0</Version>
<Version>8.1.1</Version>
<Authors>Shafaqat Ali</Authors>
<Company>CMS365 PTY LTD</Company>
<Description>EbaySharp is a .NET library that enables you to authenticate and make REST API calls to eBay. It's used for creating listings and managing orders using C# and .NET</Description>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
public class Regulatory
{
public Document[] Documents { get; set; }
public EconomicOperator EconomicOperator { get; set; }
public EnergyEfficiencyLabel EnergyEfficiencyLabel { get; set; }
public Hazmat Hazmat { get; set; }
public Manufacturer Manufacturer { get; set; }
public ProductSafety ProductSafety { get; set; }
public int RepairScore { get; set; }
public ResponsiblePerson[] ResponsiblePerson { get; set; }

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -121,17 +121,6 @@
"documentId": "string"
}
],
"economicOperator": { /* EconomicOperator */
"addressLine1": "string",
"addressLine2": "string",
"city": "string",
"companyName": "string",
"country": "CountryCodeEnum : [AD,AE,AF...]",
"email": "string",
"phone": "string",
"postalCode": "string",
"stateOrProvince": "string"
},
"energyEfficiencyLabel": { /* EnergyEfficiencyLabel */
"imageDescription": "string",
"imageURL": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,17 +126,6 @@
"documentId": "string"
}
],
"economicOperator": { /* EconomicOperator */
"addressLine1": "string",
"addressLine2": "string",
"city": "string",
"companyName": "string",
"country": "CountryCodeEnum : [AD,AE,AF...]",
"email": "string",
"phone": "string",
"postalCode": "string",
"stateOrProvince": "string"
},
"energyEfficiencyLabel": { /* EnergyEfficiencyLabel */
"imageDescription": "string",
"imageURL": "string",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Install-Package CMS365.EbaySharp
| | Feed API v1.3.1 |
| | Finances API v1.17.2 |
| | Fulfillment API v1.20.4 |
| | Inventory API v1.17.4 |
| | Inventory API v1.17.6 |
| | Key Management API v1.0.0 |
| | Metadata API v1.7.1 |
| | Stores API v1 |
Expand Down

0 comments on commit 98b5219

Please sign in to comment.