File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Source/FikaAmazonAPI/Services Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -186,13 +186,13 @@ public async Task<OrderItemsBuyerInfoList> GetOrderItemsBuyerInfoAsync(string or
186
186
return response . Payload ;
187
187
}
188
188
189
- public Address GetOrderAddress ( string orderId ) =>
189
+ public OrderAddress GetOrderAddress ( string orderId ) =>
190
190
Task . Run ( ( ) => GetOrderAddressAsync ( orderId ) ) . ConfigureAwait ( false ) . GetAwaiter ( ) . GetResult ( ) ;
191
- public async Task < Address > GetOrderAddressAsync ( string orderId , CancellationToken cancellationToken = default )
191
+ public async Task < OrderAddress > GetOrderAddressAsync ( string orderId , CancellationToken cancellationToken = default )
192
192
{
193
193
await CreateAuthorizedRequestAsync ( OrdersApiUrls . OrderShipmentInfo ( orderId ) , RestSharp . Method . Get , cancellationToken : cancellationToken ) ;
194
194
var response = await ExecuteRequestAsync < GetOrderAddressResponse > ( Utils . RateLimitType . Order_GetOrderAddress , cancellationToken ) ;
195
- return response . Payload . ShippingAddress ;
195
+ return response . Payload ;
196
196
}
197
197
198
198
public bool UpdateShipmentStatus ( string orderId , UpdateShipmentStatusRequest updateShipmentStatusRequest ) =>
You can’t perform that action at this time.
0 commit comments