PHP 클래스 PayPal\Api\Cost

상속: extends PayPal\Common\PPModel
파일 보기 프로젝트 열기: paypal/rest-api-sdk-php 1 사용 예제들

공개 메소드들

메소드 설명
getAmount ( ) : PayPal\Api\Currency The cost, as an amount. Valid range is from 0 to 1,000,000.
getPercent ( ) : string Cost in percent. Range of 0 to 100.
setAmount ( PayPal\Api\Currency $amount ) The cost, as an amount. Valid range is from 0 to 1,000,000.
setPercent ( string $percent ) Cost in percent. Range of 0 to 100.

메소드 상세

getAmount() 공개 메소드

The cost, as an amount. Valid range is from 0 to 1,000,000.
public getAmount ( ) : PayPal\Api\Currency
리턴 PayPal\Api\Currency

getPercent() 공개 메소드

Cost in percent. Range of 0 to 100.
public getPercent ( ) : string
리턴 string

setAmount() 공개 메소드

The cost, as an amount. Valid range is from 0 to 1,000,000.
public setAmount ( PayPal\Api\Currency $amount )
$amount PayPal\Api\Currency

setPercent() 공개 메소드

Cost in percent. Range of 0 to 100.
public setPercent ( string $percent )
$percent string