def get_response_result_by_id(self, user_id, account_id, response_id): endpoint = MonetaryAccount._get_base_endpoint(user_id, account_id) endpoint += "/%s/%d" % ( self.__endpoint_cash_register_tab_result_response, response_id) return self._make_get_request(endpoint)
def __init__(self, api_client): self.annual_overview = AnnualOverview(api_client) self.attachment_public = AttachmentPublic(api_client) self.attachment_tab = AttachmentTab(api_client) self.avatar = Avatar(api_client) self.card = Card(api_client) self.cash_register = CashRegister(api_client) self.cash_register_tab = CashRegisterTab(api_client) self.certificate_pinned = CertificatePinned(api_client) self.chat_conversation = ChatConversation(api_client) self.credential_password_ip = CredentialPasswordIp(api_client) self.customer_statement = CustomerStatement(api_client) self.device = Device(api_client) self.device_server = DeviceServer(api_client) self.draft_payment = DraftPayment(api_client) self.draft_invite = DraftShareInviteBank(api_client) self.installation = Installation(api_client) self.invoice = Invoice(api_client) self.master_card_action = MasterCardAction(api_client) self.monetary_account = MonetaryAccount(api_client) self.payment = Payment(api_client) self.permitted_ip = PermittedIp(api_client) self.request_inquiry = RequestInquiry(api_client) self.schedule = Schedule(api_client) self.scheduled_payment = ScheduledPayment(api_client) self.server_public_key = ServerPublicKey(api_client) self.session_server = SessionServer(api_client) self.session = Session(api_client) self.share_inquiry = ShareInviteBankInquiry(api_client) self.share_response = ShareInviteBankResponse(api_client) self.tab_attachment = TabAttachment(api_client) self.tab_usage = TabUsage(api_client) self.user = User(api_client)
def _get_base_endpoint(cls, user_id, account_id, payment_id=None): endpoint = MonetaryAccount._get_base_endpoint(user_id, account_id) endpoint += "/%s" % cls.__endpoint_schedule_payment if payment_id is not None: endpoint += "/%d" % payment_id return endpoint
def _get_base_endpoint(cls, user_id, account_id, cash_id=None): endpoint = MonetaryAccount._get_base_endpoint(user_id, account_id) endpoint += "/%s" % cls.__endpoint_cash_register if cash_id is not None: endpoint += "/%d" % cash_id return endpoint
def _get_base_endpoint(cls, user_id, account_id): endpoint = MonetaryAccount._get_base_endpoint(user_id) endpoint += "/%d/%s" % (account_id, cls.__endpoint_draft_payment) return endpoint
def _get_base_endpoint(cls, user_id, account_id, action_id=None): endpoint = MonetaryAccount._get_base_endpoint(user_id, account_id) endpoint += "/%s" % cls.__endpoint_mastercard_action if action_id is not None: endpoint += "/%d" % action_id return endpoint
def _get_base_endpoint(cls, user_id, account_id): return MonetaryAccount._get_base_endpoint(user_id, account_id)
def _get_base_endpoint(cls, user_id, account_id, statement_id=None): endpoint = MonetaryAccount._get_base_endpoint(user_id, account_id) endpoint += "/%s" % cls.__endpoint_customer_statement if statement_id is not None: endpoint += "/%d" % statement_id return endpoint
def _get_base_endpoint(cls, user_id, account_id, invoice_id=None): endpoint = MonetaryAccount._get_base_endpoint(user_id, account_id) endpoint += "/%s" % cls.__endpoint_invoice if invoice_id is not None: endpoint += "/%d" % invoice_id return endpoint
def _get_base_endpoint(cls, user_id, account_id): endpoint = MonetaryAccount._get_base_endpoint(user_id) endpoint += "/%d" % account_id return endpoint
def _get_base_endpoint(cls, user_id, account_id, attachment_id): endpoint = MonetaryAccount._get_base_endpoint(user_id, account_id) endpoint += "/%s/%d" % (cls.__endpoint_attachment_tab, attachment_id) return endpoint