PayWithAmazon\Client::closeOrderReference PHP Метод

closeOrderReference() публичный Метод

* CloseOrderReferenceDetails API call - Confirms that an order reference has been fulfilled (fully or partially) and that you do not expect to create any new authorizations on this order reference.
См. также: http://docs.developer.amazonservices.com/en_US/off_amazon_payments/OffAmazonPayments_CloseOrderReference.html
public closeOrderReference ( $requestParameters = [] )
    public function closeOrderReference($requestParameters = array())
    {
        $parameters = array();
        $parameters['Action'] = 'CloseOrderReference';
        $requestParameters = array_change_key_case($requestParameters, CASE_LOWER);
        $fieldMappings = array('merchant_id' => 'SellerId', 'amazon_order_reference_id' => 'AmazonOrderReferenceId', 'closure_reason' => 'ClosureReason', 'mws_auth_token' => 'MWSAuthToken');
        $responseObject = $this->setParametersAndPost($parameters, $fieldMappings, $requestParameters);
        return $responseObject;
    }