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
186186 return response . Payload ;
187187 }
188188
189- public Address GetOrderAddress ( string orderId ) =>
189+ public OrderAddress GetOrderAddress ( string orderId ) =>
190190 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 )
192192 {
193193 await CreateAuthorizedRequestAsync ( OrdersApiUrls . OrderShipmentInfo ( orderId ) , RestSharp . Method . Get , cancellationToken : cancellationToken ) ;
194194 var response = await ExecuteRequestAsync < GetOrderAddressResponse > ( Utils . RateLimitType . Order_GetOrderAddress , cancellationToken ) ;
195- return response . Payload . ShippingAddress ;
195+ return response . Payload ;
196196 }
197197
198198 public bool UpdateShipmentStatus ( string orderId , UpdateShipmentStatusRequest updateShipmentStatusRequest ) =>
You can’t perform that action at this time.
0 commit comments