Package com.restfb.types.ads
Class AdTransaction
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.ads.BaseAdsObject
com.restfb.types.ads.AdTransaction
- All Implemented Interfaces:
Serializable
public class AdTransaction extends BaseAdsObject
Represents the Ad transaction
type
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description AdTransaction()
-
Method Summary
Modifier and Type Method Description String
getAccountId()
ID of the source Ad AccountInteger
getAppAmount()
Monetary amount given to the app for this transactionInteger
getBillingEndTime()
End time of the transaction's billing periodInteger
getBillingStartTime()
Start time of the transaction's billing periodString
getChargeType()
Type of charge involved in the transactionInteger
getFaturaId()
ID for the Brazilian invoice (if transaction was made in Brazil) else 0String
getPaymentOption()
Method used to pay for the transactionString
getProductType()
The type of ads included in this transactionInteger
getProviderAmount()
Monetary amount charged to the user for this transactionString
getStatus()
Current status of the transactionInteger
getTime()
Time at which the transaction was createdvoid
setAccountId(String accountId)
ID of the source Ad Accountvoid
setAppAmount(Integer appAmount)
Monetary amount given to the app for this transactionvoid
setBillingEndTime(Integer billingEndTime)
End time of the transaction's billing periodvoid
setBillingStartTime(Integer billingStartTime)
Start time of the transaction's billing periodvoid
setChargeType(String chargeType)
Type of charge involved in the transactionvoid
setFaturaId(Integer faturaId)
ID for the Brazilian invoice (if transaction was made in Brazil) else 0void
setPaymentOption(String paymentOption)
Method used to pay for the transactionvoid
setProductType(String productType)
The type of ads included in this transactionvoid
setProviderAmount(Integer providerAmount)
Monetary amount charged to the user for this transactionvoid
setStatus(String status)
Current status of the transactionvoid
setTime(Integer time)
Time at which the transaction was createdMethods inherited from class com.restfb.types.ads.BaseAdsObject
getId, setId
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
AdTransaction
public AdTransaction()
-
-
Method Details
-
getTime
Time at which the transaction was created -
setTime
Time at which the transaction was created -
getAccountId
ID of the source Ad Account -
setAccountId
ID of the source Ad Account -
getFaturaId
ID for the Brazilian invoice (if transaction was made in Brazil) else 0 -
setFaturaId
ID for the Brazilian invoice (if transaction was made in Brazil) else 0 -
getChargeType
Type of charge involved in the transaction -
setChargeType
Type of charge involved in the transaction -
getStatus
Current status of the transaction -
setStatus
Current status of the transaction -
getBillingStartTime
Start time of the transaction's billing period -
setBillingStartTime
Start time of the transaction's billing period -
getBillingEndTime
End time of the transaction's billing period -
setBillingEndTime
End time of the transaction's billing period -
getPaymentOption
Method used to pay for the transaction -
setPaymentOption
Method used to pay for the transaction -
getAppAmount
Monetary amount given to the app for this transaction -
setAppAmount
Monetary amount given to the app for this transaction -
getProductType
The type of ads included in this transaction -
setProductType
The type of ads included in this transaction -
getProviderAmount
Monetary amount charged to the user for this transaction -
setProviderAmount
Monetary amount charged to the user for this transaction
-