src/Response/Response.php
private function setRequestedAmount()
    {
        if ($this->simpleXml->{'requested-amount'}->count() < 1) {
            return;
        }

        $this->requestedAmount = new Amount(
            (float)$this->simpleXml->{'requested-amount'},
            (string)$this->simpleXml->{'requested-amount'}->attributes()->currency
        );
    }
private function setRequestedAmount()
    {
        if ($this->simpleXml->{'requested-amount'}->count() < 1) {
            return;
        }

        $this->requestedAmount = new Amount(
            (float)$this->simpleXml->{'requested-amount'},
            (string)$this->simpleXml->{'requested-amount'}->attributes()->currency
        );
    }
private function setRequestedAmount ( ) { if ( $ this -> simpleXml -> { 'requested-amount' } -> count ( ) < 1 ) { return ; } $ this -> requestedAmount = new Amount ( ( float ) $ this -> simpleXml -> { 'requested-amount' } , ( string ) $ this -> simpleXml -> { 'requested-amount' } -> attributes ( ) -> currency ) ; }
Parse simplexml and create requestedAmount object

@since 3.0.0
Parse simplexml and create requestedAmount object