C# Class BPCSharp.BluePayPayment_BP10Emu

This is the BluePayPayment object.
Afficher le fichier Open project: BluePay/Payment_Platform Class Usage Examples

Méthodes publiques

Свойство Type Description
BPheaderstring string
TPS string
URL string
accountID string
accountNum string
accountType string
addr1 string
addr2 string
amount string
amountFood string
amountMisc string
amountTax string
amountTip string
cardExpire string
city string
country string
customID1 string
customID2 string
cvv2 string
doNotEscape string
doRebill string
docType string
email string
excludeErrors string
invoiceID string
masterID string
memo string
mode string
name1 string
name2 string
orderID string
paymentAccount string
paymentType string
phone string
queryByHierarchy string
queryBySettlement string
rebillAmount string
rebillCycles string
rebillExpr string
rebillFirstDate string
rebillID string
rebillNextAmount string
rebillNextDate string
rebillStatus string
reportEndDate string
reportStartDate string
response string
routingNum string
secretKey string
state string
templateID string
transType string
zip string

Méthodes publiques

Méthode Description
BluePayPayment_BP10Emu ( string accountID, string secretKey, string mode ) : System
Process ( ) : string
Set_Param ( string Name, string Value ) : void
auth ( string amount ) : void

Runs an Auth Transaction

auth ( string amount, string masterID ) : void

Runs an Auth Transaction

calcRebillTPS ( ) : void

Calculates TAMPER_PROOF_SEAL for bp20rebadmin API

calcTPS ( ) : void

Calculates TAMPER_PROOF_SEAL for bp20post API

cancelRebilling ( string rebillID ) : void

Cancels Rebilling Cycle

capture ( string masterID ) : void

Runs a Capture Transaction

capture ( string masterID, string amount ) : void

Runs a Capture Transaction

getAVS ( ) : string

Returns AVS from Response

getAuthCode ( ) : string

Returns AUTH_CODE from Response

getBank ( ) : string

Returns BANK_NAME from Response

getCVV2 ( ) : string

Returns CVV2 from Response

getCardType ( ) : string

Returns CARD_TYPE from response

getCreationDate ( ) : string

Returns creation_date from Response

getCyclesRemain ( ) : string

Returns cycles_remain from Response

getLastDate ( ) : string

Returns last_date from Response

getMaskedPaymentAccount ( ) : string

Returns PAYMENT_ACCOUNT from response

getMessage ( ) : string

Returns MESSAGE from Response

getNextAmount ( ) : string

Returns next_amount from Response

getNextDate ( ) : string

Returns next_date from Response

getRebillAmount ( ) : string

Returns reb_amount from Response

getRebillID ( ) : string

Returns REBID or rebill_id from Response

getRebillStatus ( string rebillID ) : void

Gets a existing rebilling cycle's status

getResponse ( HttpWebRequest request ) : void
getResponse ( WebException request ) : void
getSchedExpr ( ) : string

Returns sched_expr from Response

getStatus ( ) : string

Returns STATUS or status from response

getTransID ( ) : string

Returns TRANS_ID from response

refund ( string masterID ) : void

Runs a Refund Transaction

refund ( string masterID, string amount ) : void

Runs a Refund Transaction

responseParams ( HttpWebResponse httpResponse ) : string
sale ( string amount ) : void

Runs a Sale Transaction

sale ( string amount, string masterID ) : void

Runs a Sale Transaction

setACHInformation ( string routingNum, string accountNum, string accountType, string docType = null ) : void

Sets ACH Information

setAmountFood ( string amountFood ) : void

Sets Amount Food Field

setAmountMisc ( string amountMisc ) : void

Sets Amount Misc Field

setAmountTax ( string amountTax ) : void

Sets Amount Tax Field

setAmountTip ( string amountTip ) : void

Sets Amount Tip Field

setCCInformation ( string cardNum, string cardExpire, string cvv2 = null ) : void

Sets Credit Card Information

setCustomID1 ( string customID1 ) : void

Sets Custom ID Field

setCustomID2 ( string customID2 ) : void

Sets Custom ID2 Field

setCustomerInformation ( string name1, string name2, string addr1, string city, string state, string zip ) : void

Sets Customer Information

setCustomerInformation ( string name1, string name2, string addr1, string addr2, string city, string state, string zip ) : void

Sets Customer Information

setCustomerInformation ( string name1, string name2, string addr1, string addr2, string city, string state, string zip, string country ) : void

Sets Customer Information

setEmail ( string Email ) : void

Sets Email Field

setInvoiceID ( string invoiceID ) : void

Sets Invoice ID Field

setMemo ( string memo ) : void

Sets Memo Field

setOrderID ( string orderID ) : void

Sets Order ID Field

setPhone ( string Phone ) : void

Sets Phone Field

setRebillingInformation ( string rebAmount, string rebFirstDate, string rebExpr, string rebCycles ) : void

Sets Rebilling Cycle Information. To be used with other functions to create a transaction.

updateRebillPaymentInformation ( string templateID ) : void

Updates a rebilling cycle's payment information

updateRebillingInformation ( string rebillID, string rebNextDate, string rebExpr, string rebCycles, string rebAmount, string rebNextAmount ) : void

Updates Rebilling Cycle

voidTransaction ( string masterID ) : void

Private Methods

Méthode Description
ByteArrayToString ( byte arrInput ) : string

Method Details

BluePayPayment_BP10Emu() public méthode

public BluePayPayment_BP10Emu ( string accountID, string secretKey, string mode ) : System
accountID string
secretKey string
mode string
Résultat System

Process() public méthode

public Process ( ) : string
Résultat string

Set_Param() public méthode

public Set_Param ( string Name, string Value ) : void
Name string
Value string
Résultat void

auth() public méthode

Runs an Auth Transaction
public auth ( string amount ) : void
amount string
Résultat void

auth() public méthode

Runs an Auth Transaction
public auth ( string amount, string masterID ) : void
amount string
masterID string
Résultat void

calcRebillTPS() public méthode

Calculates TAMPER_PROOF_SEAL for bp20rebadmin API
public calcRebillTPS ( ) : void
Résultat void

calcTPS() public méthode

Calculates TAMPER_PROOF_SEAL for bp20post API
public calcTPS ( ) : void
Résultat void

cancelRebilling() public méthode

Cancels Rebilling Cycle
public cancelRebilling ( string rebillID ) : void
rebillID string
Résultat void

capture() public méthode

Runs a Capture Transaction
public capture ( string masterID ) : void
masterID string
Résultat void

capture() public méthode

Runs a Capture Transaction
public capture ( string masterID, string amount ) : void
masterID string
amount string
Résultat void

getAVS() public méthode

Returns AVS from Response
public getAVS ( ) : string
Résultat string

getAuthCode() public méthode

Returns AUTH_CODE from Response
public getAuthCode ( ) : string
Résultat string

getBank() public méthode

Returns BANK_NAME from Response
public getBank ( ) : string
Résultat string

getCVV2() public méthode

Returns CVV2 from Response
public getCVV2 ( ) : string
Résultat string

getCardType() public méthode

Returns CARD_TYPE from response
public getCardType ( ) : string
Résultat string

getCreationDate() public méthode

Returns creation_date from Response
public getCreationDate ( ) : string
Résultat string

getCyclesRemain() public méthode

Returns cycles_remain from Response
public getCyclesRemain ( ) : string
Résultat string

getLastDate() public méthode

Returns last_date from Response
public getLastDate ( ) : string
Résultat string

getMaskedPaymentAccount() public méthode

Returns PAYMENT_ACCOUNT from response
public getMaskedPaymentAccount ( ) : string
Résultat string

getMessage() public méthode

Returns MESSAGE from Response
public getMessage ( ) : string
Résultat string

getNextAmount() public méthode

Returns next_amount from Response
public getNextAmount ( ) : string
Résultat string

getNextDate() public méthode

Returns next_date from Response
public getNextDate ( ) : string
Résultat string

getRebillAmount() public méthode

Returns reb_amount from Response
public getRebillAmount ( ) : string
Résultat string

getRebillID() public méthode

Returns REBID or rebill_id from Response
public getRebillID ( ) : string
Résultat string

getRebillStatus() public méthode

Gets a existing rebilling cycle's status
public getRebillStatus ( string rebillID ) : void
rebillID string
Résultat void

getResponse() public méthode

public getResponse ( HttpWebRequest request ) : void
request System.Net.HttpWebRequest
Résultat void

getResponse() public méthode

public getResponse ( WebException request ) : void
request System.Net.WebException
Résultat void

getSchedExpr() public méthode

Returns sched_expr from Response
public getSchedExpr ( ) : string
Résultat string

getStatus() public méthode

Returns STATUS or status from response
public getStatus ( ) : string
Résultat string

getTransID() public méthode

Returns TRANS_ID from response
public getTransID ( ) : string
Résultat string

refund() public méthode

Runs a Refund Transaction
public refund ( string masterID ) : void
masterID string
Résultat void

refund() public méthode

Runs a Refund Transaction
public refund ( string masterID, string amount ) : void
masterID string
amount string
Résultat void

responseParams() public méthode

public responseParams ( HttpWebResponse httpResponse ) : string
httpResponse System.Net.HttpWebResponse
Résultat string

sale() public méthode

Runs a Sale Transaction
public sale ( string amount ) : void
amount string
Résultat void

sale() public méthode

Runs a Sale Transaction
public sale ( string amount, string masterID ) : void
amount string
masterID string
Résultat void

setACHInformation() public méthode

Sets ACH Information
public setACHInformation ( string routingNum, string accountNum, string accountType, string docType = null ) : void
routingNum string
accountNum string
accountType string
docType string
Résultat void

setAmountFood() public méthode

Sets Amount Food Field
public setAmountFood ( string amountFood ) : void
amountFood string
Résultat void

setAmountMisc() public méthode

Sets Amount Misc Field
public setAmountMisc ( string amountMisc ) : void
amountMisc string
Résultat void

setAmountTax() public méthode

Sets Amount Tax Field
public setAmountTax ( string amountTax ) : void
amountTax string
Résultat void

setAmountTip() public méthode

Sets Amount Tip Field
public setAmountTip ( string amountTip ) : void
amountTip string
Résultat void

setCCInformation() public méthode

Sets Credit Card Information
public setCCInformation ( string cardNum, string cardExpire, string cvv2 = null ) : void
cardNum string
cardExpire string
cvv2 string
Résultat void

setCustomID1() public méthode

Sets Custom ID Field
public setCustomID1 ( string customID1 ) : void
customID1 string
Résultat void

setCustomID2() public méthode

Sets Custom ID2 Field
public setCustomID2 ( string customID2 ) : void
customID2 string
Résultat void

setCustomerInformation() public méthode

Sets Customer Information
public setCustomerInformation ( string name1, string name2, string addr1, string city, string state, string zip ) : void
name1 string
name2 string
addr1 string
city string
state string
zip string
Résultat void

setCustomerInformation() public méthode

Sets Customer Information
public setCustomerInformation ( string name1, string name2, string addr1, string addr2, string city, string state, string zip ) : void
name1 string
name2 string
addr1 string
addr2 string
city string
state string
zip string
Résultat void

setCustomerInformation() public méthode

Sets Customer Information
public setCustomerInformation ( string name1, string name2, string addr1, string addr2, string city, string state, string zip, string country ) : void
name1 string
name2 string
addr1 string
addr2 string
city string
state string
zip string
country string
Résultat void

setEmail() public méthode

Sets Email Field
public setEmail ( string Email ) : void
Email string
Résultat void

setInvoiceID() public méthode

Sets Invoice ID Field
public setInvoiceID ( string invoiceID ) : void
invoiceID string
Résultat void

setMemo() public méthode

Sets Memo Field
public setMemo ( string memo ) : void
memo string
Résultat void

setOrderID() public méthode

Sets Order ID Field
public setOrderID ( string orderID ) : void
orderID string
Résultat void

setPhone() public méthode

Sets Phone Field
public setPhone ( string Phone ) : void
Phone string
Résultat void

setRebillingInformation() public méthode

Sets Rebilling Cycle Information. To be used with other functions to create a transaction.
public setRebillingInformation ( string rebAmount, string rebFirstDate, string rebExpr, string rebCycles ) : void
rebAmount string
rebFirstDate string
rebExpr string
rebCycles string
Résultat void

updateRebillPaymentInformation() public méthode

Updates a rebilling cycle's payment information
public updateRebillPaymentInformation ( string templateID ) : void
templateID string
Résultat void

updateRebillingInformation() public méthode

Updates Rebilling Cycle
public updateRebillingInformation ( string rebillID, string rebNextDate, string rebExpr, string rebCycles, string rebAmount, string rebNextAmount ) : void
rebillID string
rebNextDate string
rebExpr string
rebCycles string
rebAmount string
rebNextAmount string
Résultat void

voidTransaction() public méthode

public voidTransaction ( string masterID ) : void
masterID string
Résultat void

Property Details

BPheaderstring public_oe property

public string BPheaderstring
Résultat string

TPS public_oe property

public string TPS
Résultat string

URL public_oe property

public string URL
Résultat string

accountID public_oe property

public string accountID
Résultat string

accountNum public_oe property

public string accountNum
Résultat string

accountType public_oe property

public string accountType
Résultat string

addr1 public_oe property

public string addr1
Résultat string

addr2 public_oe property

public string addr2
Résultat string

amount public_oe property

public string amount
Résultat string

amountFood public_oe property

public string amountFood
Résultat string

amountMisc public_oe property

public string amountMisc
Résultat string

amountTax public_oe property

public string amountTax
Résultat string

amountTip public_oe property

public string amountTip
Résultat string

cardExpire public_oe property

public string cardExpire
Résultat string

city public_oe property

public string city
Résultat string

country public_oe property

public string country
Résultat string

customID1 public_oe property

public string customID1
Résultat string

customID2 public_oe property

public string customID2
Résultat string

cvv2 public_oe property

public string cvv2
Résultat string

doNotEscape public_oe property

public string doNotEscape
Résultat string

doRebill public_oe property

public string doRebill
Résultat string

docType public_oe property

public string docType
Résultat string

email public_oe property

public string email
Résultat string

excludeErrors public_oe property

public string excludeErrors
Résultat string

invoiceID public_oe property

public string invoiceID
Résultat string

masterID public_oe property

public string masterID
Résultat string

memo public_oe property

public string memo
Résultat string

mode public_oe property

public string mode
Résultat string

name1 public_oe property

public string name1
Résultat string

name2 public_oe property

public string name2
Résultat string

orderID public_oe property

public string orderID
Résultat string

paymentAccount public_oe property

public string paymentAccount
Résultat string

paymentType public_oe property

public string paymentType
Résultat string

phone public_oe property

public string phone
Résultat string

queryByHierarchy public_oe property

public string queryByHierarchy
Résultat string

queryBySettlement public_oe property

public string queryBySettlement
Résultat string

rebillAmount public_oe property

public string rebillAmount
Résultat string

rebillCycles public_oe property

public string rebillCycles
Résultat string

rebillExpr public_oe property

public string rebillExpr
Résultat string

rebillFirstDate public_oe property

public string rebillFirstDate
Résultat string

rebillID public_oe property

public string rebillID
Résultat string

rebillNextAmount public_oe property

public string rebillNextAmount
Résultat string

rebillNextDate public_oe property

public string rebillNextDate
Résultat string

rebillStatus public_oe property

public string rebillStatus
Résultat string

reportEndDate public_oe property

public string reportEndDate
Résultat string

reportStartDate public_oe property

public string reportStartDate
Résultat string

response public_oe property

public string response
Résultat string

routingNum public_oe property

public string routingNum
Résultat string

secretKey public_oe property

public string secretKey
Résultat string

state public_oe property

public string state
Résultat string

templateID public_oe property

public string templateID
Résultat string

transType public_oe property

public string transType
Résultat string

zip public_oe property

public string zip
Résultat string