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

setRequestPayment() public method

This implementation of the PUT operation uses the requestPayment subresource to set the request payment configuration of a bucket.
public setRequestPayment ( string $requestPayment ) : boolean
$requestPayment string A XML Document which defines configuration
return boolean Returns true on succes or false if failure.
    public function setRequestPayment($requestPayment)
    {
        $this->throwExceptionIfNotInitialized();
        return $this->getS3()->bucket->setRequestPayment($this->bucketName, $requestPayment);
    }