def subscription(self):
        """Return the subscription for this payment."""
        return self.client.customer_subscriptions.with_parent_id(self.customer_id).get(self.subscription_id)
def subscription ( self ) : return self . client . customer_subscriptions . with_parent_id ( self . customer_id ) . get ( self . subscription_id )
Return the subscription for this payment.