Source code for worldline.connect.sdk.v1.merchant.merchant_client

#
# This class was auto-generated from the API references found at
# https://apireference.connect.worldline-solutions.com/
#
from worldline.connect.sdk.api_resource import ApiResource
from worldline.connect.sdk.v1.merchant.captures.captures_client import CapturesClient
from worldline.connect.sdk.v1.merchant.disputes.disputes_client import DisputesClient
from worldline.connect.sdk.v1.merchant.files.files_client import FilesClient
from worldline.connect.sdk.v1.merchant.hostedcheckouts.hostedcheckouts_client import HostedcheckoutsClient
from worldline.connect.sdk.v1.merchant.hostedmandatemanagements.hostedmandatemanagements_client import HostedmandatemanagementsClient
from worldline.connect.sdk.v1.merchant.installments.installments_client import InstallmentsClient
from worldline.connect.sdk.v1.merchant.mandates.mandates_client import MandatesClient
from worldline.connect.sdk.v1.merchant.payments.payments_client import PaymentsClient
from worldline.connect.sdk.v1.merchant.payouts.payouts_client import PayoutsClient
from worldline.connect.sdk.v1.merchant.productgroups.productgroups_client import ProductgroupsClient
from worldline.connect.sdk.v1.merchant.products.products_client import ProductsClient
from worldline.connect.sdk.v1.merchant.refunds.refunds_client import RefundsClient
from worldline.connect.sdk.v1.merchant.riskassessments.riskassessments_client import RiskassessmentsClient
from worldline.connect.sdk.v1.merchant.services.services_client import ServicesClient
from worldline.connect.sdk.v1.merchant.sessions.sessions_client import SessionsClient
from worldline.connect.sdk.v1.merchant.tokens.tokens_client import TokensClient


[docs]class MerchantClient(ApiResource): """ Merchant client. Thread-safe. """
[docs] def __init__(self, parent, path_context): """ :param parent: :class:`worldline.connect.sdk.api_resource.ApiResource` :param path_context: dict[str, str] """ super(MerchantClient, self).__init__(parent=parent, path_context=path_context)
[docs] def hostedcheckouts(self): """ Resource /{merchantId}/hostedcheckouts :return: :class:`worldline.connect.sdk.v1.merchant.hostedcheckouts.hostedcheckouts_client.HostedcheckoutsClient` """ return HostedcheckoutsClient(self, None)
[docs] def hostedmandatemanagements(self): """ Resource /{merchantId}/hostedmandatemanagements :return: :class:`worldline.connect.sdk.v1.merchant.hostedmandatemanagements.hostedmandatemanagements_client.HostedmandatemanagementsClient` """ return HostedmandatemanagementsClient(self, None)
[docs] def payments(self): """ Resource /{merchantId}/payments :return: :class:`worldline.connect.sdk.v1.merchant.payments.payments_client.PaymentsClient` """ return PaymentsClient(self, None)
[docs] def captures(self): """ Resource /{merchantId}/captures :return: :class:`worldline.connect.sdk.v1.merchant.captures.captures_client.CapturesClient` """ return CapturesClient(self, None)
[docs] def refunds(self): """ Resource /{merchantId}/refunds :return: :class:`worldline.connect.sdk.v1.merchant.refunds.refunds_client.RefundsClient` """ return RefundsClient(self, None)
[docs] def disputes(self): """ Resource /{merchantId}/disputes :return: :class:`worldline.connect.sdk.v1.merchant.disputes.disputes_client.DisputesClient` """ return DisputesClient(self, None)
[docs] def payouts(self): """ Resource /{merchantId}/payouts :return: :class:`worldline.connect.sdk.v1.merchant.payouts.payouts_client.PayoutsClient` """ return PayoutsClient(self, None)
[docs] def productgroups(self): """ Resource /{merchantId}/productgroups :return: :class:`worldline.connect.sdk.v1.merchant.productgroups.productgroups_client.ProductgroupsClient` """ return ProductgroupsClient(self, None)
[docs] def products(self): """ Resource /{merchantId}/products :return: :class:`worldline.connect.sdk.v1.merchant.products.products_client.ProductsClient` """ return ProductsClient(self, None)
[docs] def riskassessments(self): """ Resource /{merchantId}/riskassessments :return: :class:`worldline.connect.sdk.v1.merchant.riskassessments.riskassessments_client.RiskassessmentsClient` """ return RiskassessmentsClient(self, None)
[docs] def services(self): """ Resource /{merchantId}/services :return: :class:`worldline.connect.sdk.v1.merchant.services.services_client.ServicesClient` """ return ServicesClient(self, None)
[docs] def tokens(self): """ Resource /{merchantId}/tokens :return: :class:`worldline.connect.sdk.v1.merchant.tokens.tokens_client.TokensClient` """ return TokensClient(self, None)
[docs] def mandates(self): """ Resource /{merchantId}/mandates :return: :class:`worldline.connect.sdk.v1.merchant.mandates.mandates_client.MandatesClient` """ return MandatesClient(self, None)
[docs] def sessions(self): """ Resource /{merchantId}/sessions :return: :class:`worldline.connect.sdk.v1.merchant.sessions.sessions_client.SessionsClient` """ return SessionsClient(self, None)
[docs] def installments(self): """ Resource /{merchantId}/installments :return: :class:`worldline.connect.sdk.v1.merchant.installments.installments_client.InstallmentsClient` """ return InstallmentsClient(self, None)
[docs] def files(self): """ Resource /{merchantId}/files :return: :class:`worldline.connect.sdk.v1.merchant.files.files_client.FilesClient` """ return FilesClient(self, None)