Пример #1
0
 //Invoke the Capture method with Provider Credit
 public CaptureResponse CaptureActionWithProviderCredit(AuthorizeResponse authResponse, string orderAmount, string providerId, string creditAmount)
 {
     return(CaptureSample.CaptureAction(propertiesCollection, service, authResponse.AuthorizeResult.AuthorizationDetails.AmazonAuthorizationId, orderAmount, orderReferenceId, 0, providerId, creditAmount));
 }
 //Invoke the Capture method.
 public CaptureResponse CaptureAction(AuthorizeResponse authResponse, string orderAmount)
 {
     return(CaptureSample.CaptureAction(propertiesCollection, service, authResponse.AuthorizeResult.AuthorizationDetails.AmazonAuthorizationId, orderAmount, orderReferenceId, 0, null, null));
 }
 //Invoke the Capture method
 public CaptureResponse Capture(AuthorizeOnBillingAgreementResponse authResponse, string captureAmount, int indicator)
 {
     return(CaptureSample.CaptureAction(propertiesCollection, service, authResponse.AuthorizeOnBillingAgreementResult.AuthorizationDetails.AmazonAuthorizationId, captureAmount, billingAgreementId, indicator, null, null));
 }