Iyzipay\Model\Mapper\BkmMapper::create PHP Method

create() public static method

public static create ( $rawResult = null )
    public static function create($rawResult = null)
    {
        return new BkmMapper($rawResult);
    }

Usage Example

Beispiel #1
0
 public static function retrieve(RetrieveBkmRequest $request, Options $options)
 {
     $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/bkm/auth/detail", parent::getHttpHeaders($request, $options), $request->toJsonString());
     return BkmMapper::create($rawResult)->jsonDecode()->mapBkm(new Bkm());
 }