예제 #1
0
 // sync
 public static Card Delete(DeleteCardRequest request, Options options)
 {
     return(RestHttpClient.Create().Delete <Card>(options.BaseUrl + "/cardstorage/card", GetHttpHeaders(request, options), request));
 }
예제 #2
0
 public static SubMerchant Retrieve(RetrieveSubMerchantRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <SubMerchant>(options.BaseUrl + "/onboarding/submerchant/detail",
                                                       GetHttpHeaders(request, options), request));
 }
예제 #3
0
 public static CheckoutFormInitializePreAuth Create(CreateCheckoutFormInitializeRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <CheckoutFormInitializePreAuth>(
                options.BaseUrl + "/payment/iyzipos/checkoutform/initialize/preauth/ecom",
                GetHttpHeaders(request, options), request));
 }
예제 #4
0
 public static BKMAuth Retrieve(RetrieveBKMAuthRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <BKMAuth>(options.BaseUrl + "/payment/iyzipos/bkm/auth/ecom/detail", GetHttpHeaders(request, options), request));
 }
예제 #5
0
 // sync
 public static PaymentPreAuth Create(CreatePaymentRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <PaymentPreAuth>(options.BaseUrl + "/payment/preauth", GetHttpHeaders(request, options), request));
 }
예제 #6
0
 public static CrossBookingToSubMerchant Create(CreateCrossBookingRequest request, Options options)
 {
     return RestHttpClient.Create().Post<CrossBookingToSubMerchant>(options.BaseUrl + "/crossbooking/send", GetHttpHeaders(request, options), request);
 }
 public static Disapproval Create(CreateApprovalRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <Disapproval>(options.BaseUrl + "/payment/iyzipos/item/disapprove", request, options));
 }
예제 #8
0
 public static ThreedsPayment Create(CreateThreedsPaymentRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <ThreedsPayment>(options.BaseUrl + "/payment/3dsecure/auth",
                                                          GetHttpHeaders(request, options), request));
 }
예제 #9
0
 public static IyzipayResource Retrieve(Options options)
 {
     return(RestHttpClient.Create().Get <IyzipayResource>(options.BaseUrl + "/payment/test"));
 }
예제 #10
0
 public static Approval Create(CreateApprovalRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <Approval>(options.BaseUrl + "/payment/iyzipos/item/approve",
                                                    GetHttpHeaders(request, options), request));
 }
예제 #11
0
 public static BinNumber Retrieve(RetrieveBinNumberRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <BinNumber>(options.BaseUrl + "/payment/bin/check", GetHttpHeaders(request, options), request));
 }
예제 #12
0
 public static CardList Retrieve(RetrieveCardListRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <CardList>(options.BaseUrl + "/cardstorage/cards", GetHttpHeaders(request, options), request));
 }
예제 #13
0
 public static CheckoutForm Retrieve(RetrieveCheckoutFormRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <CheckoutForm>(options.BaseUrl + "/payment/iyzipos/checkoutform/auth/ecom/detail", GetHttpHeaders(request, options), request));
 }
예제 #14
0
 // Async
 public static async Task <Card> DeleteAsync(DeleteCardRequest request, Options options)
 {
     return(await RestHttpClient.Create().DeleteAsync <Card>(options.BaseUrl + "/cardstorage/card", GetHttpHeaders(request, options), request));
 }
예제 #15
0
 public static SubMerchant Create(CreateSubMerchantRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <SubMerchant>(options.BaseUrl + "/onboarding/submerchant", request, options));
 }
예제 #16
0
 public static PayoutCompletedTransactionList Retrieve(RetrieveTransactionsRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <PayoutCompletedTransactionList>(options.BaseUrl + "/reporting/settlement/payoutcompleted", GetHttpHeaders(request, options), request));
 }
예제 #17
0
 public static PeccoPayment Create(CreatePeccoPaymentRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <PeccoPayment>(options.BaseUrl + "/payment/pecco/auth", request, options));
 }
예제 #18
0
 public static PeccoInitialize Create(CreatePeccoInitializeRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <PeccoInitialize>(options.BaseUrl + "/payment/pecco/initialize",
                                                           GetHttpHeaders(request, options), request));
 }
 public static PaymentPostAuth Create(CreatePaymentPostAuthRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <PaymentPostAuth>(options.BaseUrl + "/payment/postauth", request, options));
 }
예제 #20
0
 public static Payment Retrieve(RetrievePaymentRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <Payment>(options.BaseUrl + "/payment/detail", GetHttpHeaders(request, options), request));
 }
예제 #21
0
 public static Cancel Create(CreateCancelRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <Cancel>(options.BaseUrl + "/payment/cancel", GetHttpHeaders(request, options), request));
 }
예제 #22
0
 public static IyziPayInitializeService Create(CreateCheckoutFormInitializeRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <IyziPayInitializeService>(options.BaseUrl + "/payment/iyzipos/checkoutform/initialize/auth/ecom", GetHttpHeaders(request, options), request));
 }
예제 #23
0
 // Async
 public static async Task <PaymentPreAuth> RetrieveAsync(RetrievePaymentRequest request, Options options)
 {
     return(await RestHttpClient.Create().PostAsync <PaymentPreAuth>(options.BaseUrl + "/payment/detail", GetHttpHeaders(request, options), request));
 }
예제 #24
0
 public static ThreeDSAuth Create(CreateThreeDSAuthRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <ThreeDSAuth>(options.BaseUrl + "/payment/iyzipos/auth3ds/ecom", GetHttpHeaders(request, options), request));
 }
예제 #25
0
 public static SubMerchant Update(UpdateSubMerchantRequest request, Options options)
 {
     return(RestHttpClient.Create().Put <SubMerchant>(options.BaseUrl + "/onboarding/submerchant",
                                                      GetHttpHeaders(request, options), request));
 }
예제 #26
0
 public static Refund Create(CreateRefundRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <Refund>(options.BaseUrl + "/payment/refund", GetHttpHeaders(request, options), request));
 }
 public Task <string> Get()
 {
     return(RestHttpClient.Get("https://example.com"));
 }
예제 #28
0
 // Async
 public static async Task <BasicBkm> RetrieveAsync(RetrieveBkmRequest request, Options options)
 {
     return(await RestHttpClient.Create().PostAsync <BasicBkm>(options.BaseUrl + "/payment/bkm/auth/detail/basic", GetHttpHeaders(request, options), request));
 }
예제 #29
0
 // sync
 public static PaymentItem Update(UpdatePaymentItemRequest request, Options options)
 {
     return(RestHttpClient.Create().Put <PaymentItem>(options.BaseUrl + "/payment/item", GetHttpHeaders(request, options), request));
 }
예제 #30
0
 public static Card Create(CreateCardRequest request, Options options)
 {
     return(RestHttpClient.Create().Post <Card>(options.BaseUrl + "/cardstorage/card", request, options));
 }