Class paypalbutton

Description

Located in /paypalbutton.class.php (line 16)


	
			
Method Summary
paypalbutton __construct (string $email, [bool $sandbox = false])
void additem (string $itemname, string $itemnumber, float $amount, [int $quantity = 1], [float $weight = 0], [float $handling = 0], [float $shipping = 0], [float $tax = 0])
mixed output ([bool $return = false])
void setcancelreturnurl (string $url)
void setcurrency (string $currency)
void setcustomimage (string $image)
void setnotifyurl (string $url)
void setreturnurl (string $url)
void settype (string $type)
void setweightunit (string $unit)
Methods
Constructor __construct (line 91)

Constructor

  • access: public
paypalbutton __construct (string $email, [bool $sandbox = false])
  • string $email
  • bool $sandbox
additem (line 162)

Add an item.

  • access: public
void additem (string $itemname, string $itemnumber, float $amount, [int $quantity = 1], [float $weight = 0], [float $handling = 0], [float $shipping = 0], [float $tax = 0])
  • string $itemname
  • string $itemnumber
  • float $amount
  • int $quantity
  • float $weight
  • float $handling
  • float $shipping
  • float $tax
output (line 193)

Output the button.

  • access: public
mixed output ([bool $return = false])
  • bool $return
setcancelreturnurl (line 135)

Set the URL the user is returned to after cancelling the payment.

  • access: public
void setcancelreturnurl (string $url)
  • string $url
setcurrency (line 172)

Set the order currency.

  • access: public
void setcurrency (string $currency)
  • string $currency
setcustomimage (line 115)

Set the custom image.

  • access: public
void setcustomimage (string $image)
  • string $image
setnotifyurl (line 145)

Set the URL for instant notifications.

  • access: public
void setnotifyurl (string $url)
  • string $url
setreturnurl (line 125)

Set the URL the user is returned to after payment.

  • access: public
void setreturnurl (string $url)
  • string $url
settype (line 102)

Set the button-type.

  • access: public
void settype (string $type)
  • string $type
setweightunit (line 182)

Set the weight unit.

  • access: public
void setweightunit (string $unit)
  • string $unit

Documentation generated on Thu, 12 Mar 2009 16:30:24 +0800 by phpDocumentor 1.4.2