shopify/orders/objects/order.py
def cancel_reason(self):
        """
        The reason why the order was cancelled.

        If the order was not cancelled, this value is None.
        If the order was cancelled, the value will be one of the following:
            - customer: The customer changed or cancelled the order.
            - fraud: The order was fraudulent.
            - inventory: Items in the order were not in inventory.
            - other: The order was cancelled for a reason not in the list above.
        :return:
        """
        return self._dict.get('cancel_reason')

        The reason why the order was cancelled.

        If the order was not cancelled, this value is None.
        If the order was cancelled, the value will be one of the following:
            - customer: The customer changed or cancelled the order.
            - fraud: The order was fraudulent.
            - inventory: Items in the order were not in inventory.
            - other: The order was cancelled for a reason not in the list above.
        :return:
        
The reason why the order was cancelled.
If the order was not cancelled, this value is None.
If the order was cancelled, the value will be one of the following:
customer: The customer changed or cancelled the order.
fraud: The order was fraudulent.
inventory: Items in the order were not in inventory.
other: The order was cancelled for a reason not in the list above.
The reason why the order was cancelled . If the order was not cancelled this value is None . If the order was cancelled the value will be one of the following : customer : The customer changed or cancelled the order . fraud : The order was fraudulent . inventory : Items in the order were not in inventory . other : The order was cancelled for a reason not in the list above .
def cancel_reason(self):
        return self._dict.get('cancel_reason')
def cancel_reason ( self ) : return self . _dict . get ( 'cancel_reason' )
The reason why the order was cancelled.
The reason why the order was cancelled .
"""
        The reason why the order was cancelled.

        If the order was not cancelled, this value is None.
        If the order was cancelled, the value will be one of the following:
            - customer: The customer changed or cancelled the order.
            - fraud: The order was fraudulent.
            - inventory: Items in the order were not in inventory.
            - other: The order was cancelled for a reason not in the list above.
        :return:
        """
None
self