コード例 #1
0
 public static function retrieve(RetrieveInstallmentInfoRequest $request, Options $options)
 {
     $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/iyzipos/installment/html/horizontal", parent::getHttpHeaders($request, $options), $request->toJsonString());
     return InstallmentHtmlMapper::create($rawResult)->jsonDecode()->mapInstallmentHtml(new InstallmentHtml());
 }
コード例 #2
0
ファイル: Refund.php プロジェクト: iyzico/iyzipay-php
 public static function create(CreateRefundRequest $request, Options $options)
 {
     $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/refund", parent::getHttpHeaders($request, $options), $request->toJsonString());
     return RefundMapper::create($rawResult)->jsonDecode()->mapRefund(new Refund());
 }
コード例 #3
0
ファイル: BkmInitialize.php プロジェクト: iyzico/iyzipay-php
 public static function create(CreateBkmInitializeRequest $request, Options $options)
 {
     $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/bkm/initialize", parent::getHttpHeaders($request, $options), $request->toJsonString());
     return BkmInitializeMapper::create($rawResult)->jsonDecode()->mapBkmInitialize(new BkmInitialize());
 }
コード例 #4
0
ファイル: ApiTest.php プロジェクト: iyzico/iyzipay-php
 public static function retrieve(Options $options)
 {
     $rawResult = parent::httpClient()->get($options->getBaseUrl() . "/payment/test");
     return IyzipayResourceMapper::create($rawResult)->jsonDecode()->mapResource(new IyzipayResource());
 }
コード例 #5
0
 public static function create(CreateBasicPaymentRequest $request, Options $options)
 {
     $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/3dsecure/initialize/basic", parent::getHttpHeaders($request, $options), $request->toJsonString());
     return BasicThreedsInitializeMapper::create($rawResult)->jsonDecode()->mapBasicThreedsInitialize(new BasicThreedsInitialize());
 }
コード例 #6
0
ファイル: BinNumber.php プロジェクト: iyzico/iyzipay-php
 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());
 }
コード例 #7
0
ファイル: BasicBkm.php プロジェクト: iyzico/iyzipay-php
 public static function retrieve(RetrieveBkmRequest $request, Options $options)
 {
     $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/bkm/auth/detail/basic", parent::getHttpHeaders($request, $options), $request->toJsonString());
     return BasicBkmMapper::create($rawResult)->jsonDecode()->mapBasicBkm(new BasicBkm());
 }
コード例 #8
0
 public static function create(CreateCrossBookingRequest $request, Options $options)
 {
     $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/crossbooking/send", parent::getHttpHeaders($request, $options), $request->toJsonString());
     return CrossBookingToSubMerchantMapper::create($rawResult)->jsonDecode()->mapCrossBookingToSubMerchant(new CrossBookingToSubMerchant());
 }
コード例 #9
0
ファイル: Card.php プロジェクト: iyzico/iyzipay-php
 public static function delete(DeleteCardRequest $request, Options $options)
 {
     $rawResult = parent::httpClient()->delete($options->getBaseUrl() . "/cardstorage/card", parent::getHttpHeaders($request, $options), $request->toJsonString());
     return CardMapper::create($rawResult)->jsonDecode()->mapCard(new Card());
 }
コード例 #10
0
 public static function create(CreatePaymentPostAuthRequest $request, Options $options)
 {
     $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/postauth", parent::getHttpHeaders($request, $options), $request->toJsonString());
     return PaymentPostAuthMapper::create($rawResult)->jsonDecode()->mapPaymentPostAuth(new PaymentPostAuth());
 }
コード例 #11
0
ファイル: CardList.php プロジェクト: iyzico/iyzipay-php
 public static function retrieve(RetrieveCardListRequest $request, Options $options)
 {
     $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/cardstorage/cards", parent::getHttpHeaders($request, $options), $request->toJsonString());
     return CardListMapper::create($rawResult)->jsonDecode()->mapCardList(new CardList());
 }
コード例 #12
0
 public static function create(CreateCheckoutFormInitializeRequest $request, Options $options)
 {
     $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/iyzipos/checkoutform/initialize/auth/ecom", parent::getHttpHeaders($request, $options), $request->toJsonString());
     return CheckoutFormInitializeMapper::create($rawResult)->jsonDecode()->mapCheckoutFormInitialize(new CheckoutFormInitialize());
 }
コード例 #13
0
ファイル: Payment.php プロジェクト: iyzico/iyzipay-php
 public static function retrieve(RetrievePaymentRequest $request, Options $options)
 {
     $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/detail", parent::getHttpHeaders($request, $options), $request->toJsonString());
     return PaymentMapper::create($rawResult)->jsonDecode()->mapPayment(new Payment());
 }
コード例 #14
0
 public static function retrieve(RetrieveTransactionsRequest $request, Options $options)
 {
     $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/reporting/settlement/payoutcompleted", parent::getHttpHeaders($request, $options), $request->toJsonString());
     return PayoutCompletedTransactionListMapper::create($rawResult)->jsonDecode()->mapPayoutCompletedTransactionList(new PayoutCompletedTransactionList());
 }
コード例 #15
0
ファイル: CheckoutForm.php プロジェクト: iyzico/iyzipay-php
 public static function retrieve(RetrieveCheckoutFormRequest $request, Options $options)
 {
     $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/iyzipos/checkoutform/auth/ecom/detail", parent::getHttpHeaders($request, $options), $request->toJsonString());
     return CheckoutFormMapper::create($rawResult)->jsonDecode()->mapCheckoutForm(new CheckoutForm());
 }
コード例 #16
0
ファイル: Disapproval.php プロジェクト: iyzico/iyzipay-php
 public static function create(CreateApprovalRequest $request, Options $options)
 {
     $rawResult = parent::httpClient()->post($options->getBaseUrl() . "/payment/iyzipos/item/disapprove", parent::getHttpHeaders($request, $options), $request->toJsonString());
     return DisapprovalMapper::create($rawResult)->jsonDecode()->mapDisapproval(new Disapproval());
 }