Iyzipay\Model\Mapper\BinNumberMapper::create PHP Метод

create() публичный статический Метод

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

Usage Example

Пример #1
0
 public static function retrieve(RetrieveBinNumberRequest $request, Options $options)
 {
     $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/bin/check", parent::getHttpHeaders($request, $options), $request->toJsonString());
     return BinNumberMapper::create($rawResult)->jsonDecode()->mapBinNumber(new BinNumber());
 }