コード例 #1
0
        public CustomerDocumentsResponse CustomerDocuments(CustomerDocumentsRequest request)
        {
            if (request == null)
                throw new ArgumentNullException("request");

            return SendGetRequest<CustomerDocumentsRequest, CustomerDocumentsResponse>(request, "CustomerDocuments");
        }
コード例 #2
0
        public CustomerDocumentsResponse CustomerDocuments(string merchantCustomerID, string merchantSessionID)
        {
            if (merchantCustomerID == null)
                throw new ArgumentNullException("merchantCustomerID");

            if (merchantSessionID == null)
                throw new ArgumentNullException("merchantSessionID");

            var request = new CustomerDocumentsRequest
            {
                MerchantCustomerID = merchantCustomerID,
                MerchantSessionID = merchantSessionID
            };
            return CustomerDocuments(request);
        }