Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoSign in
Socket

fintoc

Package Overview
Dependencies
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fintoc - pypi Package Compare versions

Comparing version
2.11.0
to
2.12.0
+16
fintoc/managers/refunds_manager.py
"""Module to hold the refunds manager."""
from fintoc.mixins import ManagerMixin
class RefundsManager(ManagerMixin):
"""Represents a refunds manager."""
resource = "refund"
methods = ["list", "get", "create", "cancel"]
def _cancel(self, identifier, **kwargs):
"""Expire a refund."""
path = f"{self._build_path(**kwargs)}/{identifier}/cancel"
return self._create(path_=path, **kwargs)
"""Module to hold the Refund resource."""
from fintoc.mixins import ResourceMixin
class Refund(ResourceMixin):
"""Represents a Fintoc Refund."""
+2
-0

@@ -15,2 +15,3 @@ """

RefreshIntentsManager,
RefundsManager,
SubscriptionIntentsManager,

@@ -53,2 +54,3 @@ SubscriptionsManager,

)
self.refunds = RefundsManager("/v1/refunds", self._client)
self.subscriptions = SubscriptionsManager("/v1/subscriptions", self._client)

@@ -55,0 +57,0 @@ self.subscription_intents = SubscriptionIntentsManager(

@@ -11,2 +11,3 @@ """Init file for the managers module of the SDK."""

from .refresh_intents_manager import RefreshIntentsManager
from .refunds_manager import RefundsManager
from .subscription_intents_manager import SubscriptionIntentsManager

@@ -13,0 +14,0 @@ from .subscriptions_manager import SubscriptionsManager

+1
-1
"""Module to hold the version utilities."""
version_info = (2, 11, 0)
version_info = (2, 12, 0)
__version__ = ".".join([str(x) for x in version_info])
Metadata-Version: 2.3
Name: fintoc
Version: 2.11.0
Version: 2.12.0
Summary: The official Python client for the Fintoc API.

@@ -5,0 +5,0 @@ License: BSD-3-Clause

[tool.poetry]
name = "fintoc"
version = "2.11.0"
version = "2.12.0"
description = "The official Python client for the Fintoc API."

@@ -5,0 +5,0 @@ authors = ["Daniel Leal <daniel@fintoc.com>", "Nebil Kawas <nebil@uc.cl>"]