Scalr\Service\Aws\S3\DataType\BucketData::getRequestPayment PHP Method

getRequestPayment() public method

This implementation of the GET operation uses the requestPayment subresource to return the request payment configuration of a bucket.
public getRequestPayment ( ) : string
return string Returns XML document
    public function getRequestPayment()
    {
        $this->throwExceptionIfNotInitialized();
        return $this->getS3()->bucket->getRequestPayment($this->bucketName);
    }