
import paypalhttp

from urllib.parse import quote  # Python 3+


# noinspection PyDictCreation
class OrdersGetRequest:
    """
    Shows details for an order, by ID.
    """
    def __init__(self, order_id):
        self.verb = "GET"
        self.path = "/v2/checkout/orders/{order_id}?".replace("{order_id}", quote(str(order_id)))
        self.headers = {}
        self.headers["Content-Type"] = "application/json"
        self.body = None




import paypalhttp

from urllib.parse import quote  # Python 3+


# noinspection PyDictCreation
class OrdersGetRequest:
    """
    Shows details for an order, by ID.
    """
    def __init__(self, order_id):
        self.verb = "GET"
        self.path = "/v2/checkout/orders/{order_id}?".replace("{order_id}", quote(str(order_id)))
        self.headers = {}
        self.headers["Content-Type"] = "application/json"
        self.body = None



# Python 3+ # noinspection PyDictCreation Shows details for an order, by ID.