mixcoatl/admin/billing_code.py
def destroy(self, reason, replacement_code):
        """Destroy billing code with a specified reason :attr:`reason`

        :param reason: The reason of destroying the billing code.
        :type reason: str.
        :param replacement_code: The replacement code.
        :type replacement_code: int.
        :returns: bool -- Result of API call
        """
        p = self.PATH + "/" + str(self.billing_code_id)
        qopts = {'reason': reason, 'replacementCode': replacement_code}
        self.delete(p, params=qopts)
        if self.last_error is None:
            return True
        else:
            raise BillingCodeDestroyException(self.last_error)
Destroy billing code with a specified reason :attr:`reason`

        :param reason: The reason of destroying the billing code.
        :type reason: str.
        :param replacement_code: The replacement code.
        :type replacement_code: int.
        :returns: bool -- Result of API call
        
Destroy billing code with a specified reason :attr:`reason`
Destroy billing code with a specified reason : attr : ` reason `
def destroy(self, reason, replacement_code):
        p = self.PATH + "/" + str(self.billing_code_id)
        qopts = {'reason': reason, 'replacementCode': replacement_code}
        self.delete(p, params=qopts)
        if self.last_error is None:
            return True
        else:
            raise BillingCodeDestroyException(self.last_error)
def destroy ( self , reason , replacement_code ) : p = self . PATH + "/" + str ( self . billing_code_id ) qopts = { 'reason' : reason , 'replacementCode' : replacement_code } self . delete ( p , params = qopts ) if self . last_error is None : return True else : raise BillingCodeDestroyException ( self . last_error )
Destroy billing code with a specified reason :attr:`reason`
Destroy billing code with a specified reason : attr : ` reason `
"""Destroy billing code with a specified reason :attr:`reason`

        :param reason: The reason of destroying the billing code.
        :type reason: str.
        :param replacement_code: The replacement code.
        :type replacement_code: int.
        :returns: bool -- Result of API call
        """
- Result of API call
- Result of API call
self
reason
The reason of destroying the billing code.
The reason of destroying the billing code .
replacement_code
The replacement code.
The replacement code .