本文整理匯總了C#中PayPal.Util.NVPUtil.parseNVPString方法的典型用法代碼示例。如果您正苦於以下問題:C# NVPUtil.parseNVPString方法的具體用法?C# NVPUtil.parseNVPString怎麽用?C# NVPUtil.parseNVPString使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類PayPal.Util.NVPUtil
的用法示例。
在下文中一共展示了NVPUtil.parseNVPString方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: GetAdvancedPersonalData
/**
*
*/
public GetAdvancedPersonalDataResponse GetAdvancedPersonalData(GetAdvancedPersonalDataRequest GetAdvancedPersonalDataRequest, string apiUsername)
{
string resp = call("GetAdvancedPersonalData", GetAdvancedPersonalDataRequest.toNVPString(""), apiUsername);
NVPUtil util = new NVPUtil();
return new GetAdvancedPersonalDataResponse(util.parseNVPString(resp), "");
}
示例2: GetAccessToken
/**
*
*/
public GetAccessTokenResponse GetAccessToken(GetAccessTokenRequest GetAccessTokenRequest, string apiUsername)
{
string resp = call("GetAccessToken", GetAccessTokenRequest.toNVPString(""), apiUsername);
NVPUtil util = new NVPUtil();
return new GetAccessTokenResponse(util.parseNVPString(resp), "");
}
示例3: ExecutePayment
/**
*
*/
public ExecutePaymentResponse ExecutePayment(ExecutePaymentRequest ExecutePaymentRequest, string apiUsername)
{
string resp = call("ExecutePayment", ExecutePaymentRequest.toNVPString(""), apiUsername);
NVPUtil util = new NVPUtil();
return new ExecutePaymentResponse(util.parseNVPString(resp), "");
}
示例4: CancelPermissions
/**
*
*/
public CancelPermissionsResponse CancelPermissions(CancelPermissionsRequest CancelPermissionsRequest, string apiUsername)
{
string resp = call("CancelPermissions", CancelPermissionsRequest.toNVPString(""), apiUsername);
NVPUtil util = new NVPUtil();
return new CancelPermissionsResponse(util.parseNVPString(resp), "");
}
示例5: ConvertCurrency
/**
*
*/
public ConvertCurrencyResponse ConvertCurrency(ConvertCurrencyRequest ConvertCurrencyRequest, string apiUsername)
{
string resp = call("ConvertCurrency", ConvertCurrencyRequest.toNVPString(""), apiUsername);
NVPUtil util = new NVPUtil();
return new ConvertCurrencyResponse(util.parseNVPString(resp), "");
}
示例6: CreateInvoice
/**
*
*/
public CreateInvoiceResponse CreateInvoice(CreateInvoiceRequest CreateInvoiceRequest, string apiUsername)
{
string resp = call("CreateInvoice", CreateInvoiceRequest.toNVPString(""), apiUsername);
NVPUtil util = new NVPUtil();
return new CreateInvoiceResponse(util.parseNVPString(resp), "");
}
示例7: AddBankAccount
/**
* * Countries Supported:
* AU - Australia
* CA - Canada
* FR - France
* DE - Germany
* IL - Israel
* IT - Italy
* NL - Netherlands
* UK - United Kingdom
* US - United States
*/
public AddBankAccountResponse AddBankAccount(AddBankAccountRequest AddBankAccountRequest, string apiUsername)
{
string resp = call("AddBankAccount", AddBankAccountRequest.toNVPString(""), apiUsername);
NVPUtil util = new NVPUtil();
return new AddBankAccountResponse(util.parseNVPString(resp), "");
}
示例8: ConfirmPreapproval
/**
*
*/
public ConfirmPreapprovalResponse ConfirmPreapproval(ConfirmPreapprovalRequest ConfirmPreapprovalRequest, string apiUsername)
{
string resp = call("ConfirmPreapproval", ConfirmPreapprovalRequest.toNVPString(""), apiUsername);
NVPUtil util = new NVPUtil();
return new ConfirmPreapprovalResponse(util.parseNVPString(resp), "");
}
示例9: GetPermissions
/**
*
*/
public GetPermissionsResponse GetPermissions(GetPermissionsRequest GetPermissionsRequest, string apiUsername)
{
BasePayPalService service = new BasePayPalService(serviceName);
string resp = service.call("GetPermissions", GetPermissionsRequest.toNVPString(""), apiUsername);
NVPUtil util = new NVPUtil();
return new GetPermissionsResponse(util.parseNVPString(resp), "");
}
示例10: UpdateInvoice
/**
*AUTO_GENERATED
*/
public UpdateInvoiceResponse UpdateInvoice(UpdateInvoiceRequest UpdateInvoiceRequest, string apiUsername)
{
string resp = call("UpdateInvoice", UpdateInvoiceRequest.toNVPString(""), apiUsername);
NVPUtil util = new NVPUtil();
return new UpdateInvoiceResponse(util.parseNVPString(resp), "");
}
示例11: SetPaymentOptions
/**
*
*/
public SetPaymentOptionsResponse SetPaymentOptions(SetPaymentOptionsRequest SetPaymentOptionsRequest, string apiUsername)
{
string resp = call("SetPaymentOptions", SetPaymentOptionsRequest.toNVPString(""), apiUsername);
NVPUtil util = new NVPUtil();
return new SetPaymentOptionsResponse(util.parseNVPString(resp), "");
}
示例12: Refund
/**
*
*/
public RefundResponse Refund(RefundRequest RefundRequest, string apiUsername)
{
string resp = call("Refund", RefundRequest.toNVPString(""), apiUsername);
NVPUtil util = new NVPUtil();
return new RefundResponse(util.parseNVPString(resp), "");
}
示例13: PreapprovalDetails
/**
*
*/
public PreapprovalDetailsResponse PreapprovalDetails(PreapprovalDetailsRequest PreapprovalDetailsRequest, string apiUsername)
{
string resp = call("PreapprovalDetails", PreapprovalDetailsRequest.toNVPString(""), apiUsername);
NVPUtil util = new NVPUtil();
return new PreapprovalDetailsResponse(util.parseNVPString(resp), "");
}
示例14: PaymentDetails
/**
*
*/
public PaymentDetailsResponse PaymentDetails(PaymentDetailsRequest PaymentDetailsRequest, string apiUsername)
{
string resp = call("PaymentDetails", PaymentDetailsRequest.toNVPString(""), apiUsername);
NVPUtil util = new NVPUtil();
return new PaymentDetailsResponse(util.parseNVPString(resp), "");
}
示例15: GetUserLimits
/**
*
*/
public GetUserLimitsResponse GetUserLimits(GetUserLimitsRequest GetUserLimitsRequest, string apiUsername)
{
string resp = call("GetUserLimits", GetUserLimitsRequest.toNVPString(""), apiUsername);
NVPUtil util = new NVPUtil();
return new GetUserLimitsResponse(util.parseNVPString(resp), "");
}