Package com.restfb.types.whatsapp
Class ExtendedCredit
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.whatsapp.ExtendedCredit
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe total amount of credit that has been granted to other businesses.The total amount spent.The credit available to this businessThe type of extended credit used.Returns true if credit owner removed access for previously shared credit lineWhether this credential is using the fully automated experienceThe legal entity name of the owner of a lineWhen this credit is chosen as the payment method, the business name of the liable_partyThe amount of credit available to a specific business.The raw credit limit for an entire business.The business account responsible for extended credit paymentThe name of the business account responsible for extended credit paymentThe name of the business that granted the credit line.When this credit is chosen as the payment method, the business name of the bill_to_partyvoid
setAllocatedAmount
(CurrencyAmount allocatedAmount) The total amount of credit that has been granted to other businesses.void
setBalance
(CurrencyAmount balance) The total amount spent.void
setCreditAvailable
(CurrencyAmount creditAvailable) The credit available to this businessvoid
setCreditType
(String creditType) The type of extended credit used.void
setIsAccessRevoked
(Boolean isAccessRevoked) Returns true if credit owner removed access for previously shared credit linevoid
setIsAutomatedExperience
(Boolean isAutomatedExperience) Whether this credential is using the fully automated experiencevoid
setLegalEntityName
(String legalEntityName) The legal entity name of the owner of a linevoid
setLiableBizName
(String liableBizName) When this credit is chosen as the payment method, the business name of the liable_partyvoid
setMaxBalance
(CurrencyAmount maxBalance) The amount of credit available to a specific business.void
setOnlineMaxBalance
(CurrencyAmount onlineMaxBalance) The raw credit limit for an entire business.void
setOwnerBusiness
(Business ownerBusiness) The business account responsible for extended credit paymentvoid
setOwnerBusinessName
(String ownerBusinessName) The name of the business account responsible for extended credit paymentvoid
setPartitionFrom
(String partitionFrom) The name of the business that granted the credit line.void
setSendBillToBizNname
(String sendBillToBizNname) When this credit is chosen as the payment method, the business name of the bill_to_partyMethods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setType
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
ExtendedCredit
public ExtendedCredit()
-
-
Method Details
-
getAllocatedAmount
The total amount of credit that has been granted to other businesses. Going forward, credentials are measured in USD at the top level, and attachable to ad accounts of multiple currencies. -
setAllocatedAmount
The total amount of credit that has been granted to other businesses. Going forward, credentials are measured in USD at the top level, and attachable to ad accounts of multiple currencies. -
getBalance
The total amount spent. This is calculated by adding parent ad account and all child ad accounts. Going forward, credentials are measured in USD at the top level, and attachable to ad accounts of multiple currencies. -
setBalance
The total amount spent. This is calculated by adding parent ad account and all child ad accounts. Going forward, credentials are measured in USD at the top level, and attachable to ad accounts of multiple currencies. -
getCreditAvailable
The credit available to this business -
setCreditAvailable
The credit available to this business -
getCreditType
The type of extended credit used. The most common are ADS_BUSINESS and ADS_SEQUENTIAL -
setCreditType
The type of extended credit used. The most common are ADS_BUSINESS and ADS_SEQUENTIAL -
getIsAccessRevoked
Returns true if credit owner removed access for previously shared credit line -
setIsAccessRevoked
Returns true if credit owner removed access for previously shared credit line -
getIsAutomatedExperience
Whether this credential is using the fully automated experience -
setIsAutomatedExperience
Whether this credential is using the fully automated experience -
getLegalEntityName
The legal entity name of the owner of a line -
setLegalEntityName
The legal entity name of the owner of a line -
getLiableBizName
When this credit is chosen as the payment method, the business name of the liable_party -
setLiableBizName
When this credit is chosen as the payment method, the business name of the liable_party -
getMaxBalance
The amount of credit available to a specific business. Going forward, credentials are measured in USD at the top level, and attachable to ad accounts of multiple currencies. -
setMaxBalance
The amount of credit available to a specific business. Going forward, credentials are measured in USD at the top level, and attachable to ad accounts of multiple currencies. -
getOnlineMaxBalance
The raw credit limit for an entire business. Going forward, credentials are measured in USD at the top level, and attachable to ad accounts of multiple currencies. -
setOnlineMaxBalance
The raw credit limit for an entire business. Going forward, credentials are measured in USD at the top level, and attachable to ad accounts of multiple currencies. -
getOwnerBusiness
The business account responsible for extended credit payment -
setOwnerBusiness
The business account responsible for extended credit payment -
getOwnerBusinessName
The name of the business account responsible for extended credit payment -
setOwnerBusinessName
The name of the business account responsible for extended credit payment -
getPartitionFrom
The name of the business that granted the credit line. For ADS_SEQUENTIAL credit types -
setPartitionFrom
The name of the business that granted the credit line. For ADS_SEQUENTIAL credit types -
getSendBillToBizNname
When this credit is chosen as the payment method, the business name of the bill_to_party -
setSendBillToBizNname
When this credit is chosen as the payment method, the business name of the bill_to_party
-