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
public class ExtendedCredit extends FacebookType
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
-
Constructor Summary
Constructors Constructor Description ExtendedCredit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CurrencyAmount
getAllocatedAmount()
The total amount of credit that has been granted to other businesses.CurrencyAmount
getBalance()
The total amount spent.CurrencyAmount
getCreditAvailable()
The credit available to this businessString
getCreditType()
The type of extended credit used.Boolean
getIsAccessRevoked()
Returns true if credit owner removed access for previously shared credit lineBoolean
getIsAutomatedExperience()
Whether this credential is using the fully automated experienceString
getLegalEntityName()
The legal entity name of the owner of a lineString
getLiableBizName()
When this credit is chosen as the payment method, the business name of the liable_partyCurrencyAmount
getMaxBalance()
The amount of credit available to a specific business.CurrencyAmount
getOnlineMaxBalance()
The raw credit limit for an entire business.Business
getOwnerBusiness()
The business account responsible for extended credit paymentString
getOwnerBusinessName()
The name of the business account responsible for extended credit paymentString
getPartitionFrom()
The name of the business that granted the credit line.String
getSendBillToBizNname()
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_party-
Methods 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 Detail
-
ExtendedCredit
public ExtendedCredit()
-
-
Method Detail
-
getAllocatedAmount
public CurrencyAmount 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
public void setAllocatedAmount(CurrencyAmount allocatedAmount)
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
public CurrencyAmount 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
public void setBalance(CurrencyAmount balance)
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
public CurrencyAmount getCreditAvailable()
The credit available to this business
-
setCreditAvailable
public void setCreditAvailable(CurrencyAmount creditAvailable)
The credit available to this business
-
getCreditType
public String getCreditType()
The type of extended credit used. The most common are ADS_BUSINESS and ADS_SEQUENTIAL
-
setCreditType
public void setCreditType(String creditType)
The type of extended credit used. The most common are ADS_BUSINESS and ADS_SEQUENTIAL
-
getIsAccessRevoked
public Boolean getIsAccessRevoked()
Returns true if credit owner removed access for previously shared credit line
-
setIsAccessRevoked
public void setIsAccessRevoked(Boolean isAccessRevoked)
Returns true if credit owner removed access for previously shared credit line
-
getIsAutomatedExperience
public Boolean getIsAutomatedExperience()
Whether this credential is using the fully automated experience
-
setIsAutomatedExperience
public void setIsAutomatedExperience(Boolean isAutomatedExperience)
Whether this credential is using the fully automated experience
-
getLegalEntityName
public String getLegalEntityName()
The legal entity name of the owner of a line
-
setLegalEntityName
public void setLegalEntityName(String legalEntityName)
The legal entity name of the owner of a line
-
getLiableBizName
public String getLiableBizName()
When this credit is chosen as the payment method, the business name of the liable_party
-
setLiableBizName
public void setLiableBizName(String liableBizName)
When this credit is chosen as the payment method, the business name of the liable_party
-
getMaxBalance
public CurrencyAmount 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
public void setMaxBalance(CurrencyAmount maxBalance)
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
public CurrencyAmount 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
public void setOnlineMaxBalance(CurrencyAmount onlineMaxBalance)
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
public Business getOwnerBusiness()
The business account responsible for extended credit payment
-
setOwnerBusiness
public void setOwnerBusiness(Business ownerBusiness)
The business account responsible for extended credit payment
-
getOwnerBusinessName
public String getOwnerBusinessName()
The name of the business account responsible for extended credit payment
-
setOwnerBusinessName
public void setOwnerBusinessName(String ownerBusinessName)
The name of the business account responsible for extended credit payment
-
getPartitionFrom
public String getPartitionFrom()
The name of the business that granted the credit line. For ADS_SEQUENTIAL credit types
-
setPartitionFrom
public void setPartitionFrom(String partitionFrom)
The name of the business that granted the credit line. For ADS_SEQUENTIAL credit types
-
getSendBillToBizNname
public String getSendBillToBizNname()
When this credit is chosen as the payment method, the business name of the bill_to_party
-
setSendBillToBizNname
public void setSendBillToBizNname(String sendBillToBizNname)
When this credit is chosen as the payment method, the business name of the bill_to_party
-
-