lib/StripeObject.php
public function dirty()
    {
        $this->_unsavedValues = new Util\Set(array_keys($this->_values));
        foreach ($this->_values as $k => $v) {
            $this->dirtyValue($v);
        }
    }
public function dirty()
    {
        $this->_unsavedValues = new Util\Set(array_keys($this->_values));
        foreach ($this->_values as $k => $v) {
            $this->dirtyValue($v);
        }
    }
public function dirty ( ) { $ this -> _unsavedValues = new Util \ Set ( array_keys ( $ this -> _values ) ) ; foreach ( $ this -> _values as $ k => $ v ) { $ this -> dirtyValue ( $ v ) ; } }
Sets all keys within the StripeObject as unsaved so that they will be
included with an update when `serializeParameters` is called. This
method is also recursive, so any StripeObjects contained as values or
which are values in a tenant array are also marked as dirty.
Sets all keys within the StripeObject as unsaved so that they will be included with an update when serializeParameters is called . This method is also recursive so any StripeObjects contained as values or which are values in a tenant array are also marked as dirty .