Class ExpandedClient


  • public class ExpandedClient
    extends java.lang.Object
    • Constructor Detail

      • ExpandedClient

        public ExpandedClient​(ClientOptions clientOptions)
    • Method Detail

      • withRawResponse

        public RawExpandedClient withRawResponse()
        Get responses with HTTP metadata like headers
      • postExpandedV1

        public OrderDraftExpandedRes postExpandedV1​(java.lang.String orderIdOrShortId)
        Fetches a single draft order with optional expanded related data. Only the creator of the draft order can access it.
      • postExpandedV1

        public OrderDraftExpandedRes postExpandedV1​(java.lang.String orderIdOrShortId,
                                                    OrderDraftExpandedReq request)
        Fetches a single draft order with optional expanded related data. Only the creator of the draft order can access it.
      • postExpandedV1

        public OrderDraftExpandedRes postExpandedV1​(java.lang.String orderIdOrShortId,
                                                    OrderDraftExpandedReq request,
                                                    RequestOptions requestOptions)
        Fetches a single draft order with optional expanded related data. Only the creator of the draft order can access it.
      • postExpandedListV1

        public OrderDraftExpandedListRes postExpandedListV1()
        Lists all draft orders created by the authenticated user with optional expanded related data.