public class Webhook extends MutableEntity<Webhook>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
ackEnabled |
protected String |
changedBy |
protected Date |
created |
protected boolean |
deleted |
protected String |
format |
protected String |
id |
protected boolean |
metadata |
protected String |
organizationID |
protected static ResourcePath |
resourcePath |
protected String |
URL |
protected String |
verificationID |
protected boolean |
verified |
protected WebhookSubscription[] |
webhookSubscriptions |
m_client, PRETTY_PRINT_GSON| Constructor and Description |
|---|
Webhook() |
Webhook(BillForwardClient client_) |
| Modifier and Type | Method and Description |
|---|---|
static Webhook |
create(Webhook webhook) |
static Webhook[] |
getAll() |
static Webhook |
getByID(String ID) |
String |
getChangedBy() |
Date |
getCreated() |
String |
getFormat() |
String |
getId() |
String |
getID() |
String |
getOrganizationID() |
protected ResourcePath |
getResourcePath() |
String |
getURL() |
String |
getVerificationID() |
WebhookSubscription[] |
getWebhookSubscriptions() |
boolean |
isAckEnabled() |
boolean |
isDeleted() |
boolean |
isMetadata() |
boolean |
isVerified() |
protected static ResourcePath |
ResourcePath() |
void |
setAckEnabled(boolean ackEnabled) |
void |
setDeleted(boolean deleted) |
void |
setFormat(String format) |
void |
setMetadata(boolean metadata) |
void |
setOrganizationID(String organizationID) |
void |
setURL(String uRL) |
void |
setVerificationID(String verificationID) |
void |
setVerified(boolean verified) |
void |
setWebhookSubscriptions(WebhookSubscription[] webhookSubscriptions) |
savecreate, create, createExplicitPath, retire, retire, retire, retireExplicitPathprotected String id
protected String organizationID
protected String URL
protected String format
protected boolean ackEnabled
protected boolean metadata
protected boolean verified
protected String verificationID
protected boolean deleted
protected String changedBy
protected Date created
protected WebhookSubscription[] webhookSubscriptions
protected static ResourcePath resourcePath
public Webhook(BillForwardClient client_)
public Webhook()
public String getID()
public String getOrganizationID()
public void setOrganizationID(String organizationID)
public String getURL()
public void setURL(String uRL)
public String getFormat()
public void setFormat(String format)
public boolean isAckEnabled()
public void setAckEnabled(boolean ackEnabled)
public boolean isMetadata()
public void setMetadata(boolean metadata)
public boolean isVerified()
public void setVerified(boolean verified)
public String getVerificationID()
public void setVerificationID(String verificationID)
public boolean isDeleted()
public void setDeleted(boolean deleted)
public WebhookSubscription[] getWebhookSubscriptions()
public void setWebhookSubscriptions(WebhookSubscription[] webhookSubscriptions)
public String getId()
public String getChangedBy()
public Date getCreated()
public static Webhook create(Webhook webhook) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Webhook getByID(String ID) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Webhook[] getAll() throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
protected ResourcePath getResourcePath()
getResourcePath in class BillingEntityprotected static ResourcePath ResourcePath()
Copyright © 2015 BillForward. All rights reserved.