com.paypal.payments.CapturesGetRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of checkout-sdk Show documentation
Show all versions of checkout-sdk Show documentation
PayPal SDK for integrating with the Checkout REST APIs
// This class was generated on Wed, 22 Aug 2018 20:48:41 PDT by version 0.1.0-dev+904328-dirty of Braintree SDK Generator
// CapturesGetRequest.java
// @version 0.1.0-dev+904328-dirty
// @type request
// @data H4sIAAAAAAAC/+w8bXMbN3Pf+yt27ulMrBmKp8iWk+hTZUuO1Ua2Ksmd6bgaEjwseYhwwAXAkWIz/u+dBe7IeyEtO6aUPsl98FjcBQ77jl28/R69YxlGx1HCclcYtMMZumgQnaJNjMid0Co6jq5TvbDA0TEhLUy1AQZlBw45W2ao3AAmSzg/HUaD6D8LNMtLZliGDo2Njj/eDqK3yDiaBvT36GaZ0+DWGaFm0SD6L2YEm0gsiTopXKqN+F/m6RhE/4HLLZgmvSdJgtaC03eoYGp0Vv6JiudaKAfx/PtYs8Klh7HHENUnxrBlIOhgEF0h4++VXEbHUyYtEuC3Qhjk0bEzBQ6iS6NzNE6gjY5VIeWn20H0Rpuszfclc+nXcV1KdiR4g+UOlzcpwiVbXjK5P0OFhjnkcH7q9eNS7GjIIxapSFJwGmyqF5VKd8Q+tUHrwkcISCCba2UxwFasvw6kdXn/PMcnHZ6+ivISUCd9rY0LrXDZJYhlulCuQdYK1FVHUhiDKlkCUxxCu9JdpkIxlQgmwRmmLEuo1wBskaTALDCYMMlUgqDNSl+8wN3xt9XaSpJHiebY4LON6bL70aUGcT9JmWGJQwPn1+/3Xxx+/8NaENT39lnMdWJjoRzOjHfZmAuDiYsNWhdXjfepsY33wKXMgeConJgKtMGay0a7sNXBg1KZM1k0pVFBulLwmEHpWZmYpQ4mePw/xcHB86SQ/n8Mv6QIv04UeFmg8dZRskacSnGHMP73y/8eByEwg6C0A7fMRcKkXMLUBNthchg+GldfbY0BHBORMbnqsXmsm3entbFsMeFiLjhyolCDS3VhmeIutZuHiysO35RRx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7xWbUmvH9W7f/vs2q3nwbR63DWvNQ1y3MpkhC8fg0G+ta5/CK8RnIc/Xx2E4UnUqPjKJ4fxtUbXHH1ilj8+/o51E/RILq+E/mKgrP7HBOHPLg9hc3o+PDg4NO//B8AAAD//w==
// DO NOT EDIT
package com.paypal.payments;
import com.braintreepayments.http.*;
import java.util.*;
import java.util.stream.Collectors;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
/**
* Shows details for a captured payment, by ID.
*/
public class CapturesGetRequest extends HttpRequest {
public CapturesGetRequest(String captureId) {
super("/v2/payments/captures/{capture_id}?", "GET", Capture.class);
try {
path(path().replace("{capture_id}", URLEncoder.encode(String.valueOf(captureId), "UTF-8")));
} catch (UnsupportedEncodingException ignored) {}
header("Content-Type", "application/json");
}
public CapturesGetRequest authorization(String authorization) {
header("Authorization", String.valueOf(authorization));
return this;
}
}