Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Development #67

Merged
merged 35 commits into from
Nov 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# OS X
.DS_Store
fuelsdk.properties
log4j.properties
settings.xml

# Eclipse
Expand All @@ -16,3 +17,4 @@ settings.xml
# Maven
target/
/bin/
/nbproject/
8 changes: 3 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.salesforce-marketingcloud</groupId>
<artifactId>fuelsdk</artifactId>
Expand All @@ -29,6 +26,7 @@
<connection>scm:git:git@github.com:salesforce-marketingcloud/FuelSDK-Java</connection>
<developerConnection>scm:git:git@github.com:salesforce-marketingcloud/FuelSDK-Java</developerConnection>
<url>git@github.com:salesforce-marketingcloud/FuelSDK-Java</url>
<tag>fuelsdk-1.2.1</tag>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down Expand Up @@ -275,7 +273,7 @@
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ public class ClearAttachmentsOutInterceptor extends AbstractSoapInterceptor {
* Class constructor.
*/
public ClearAttachmentsOutInterceptor() {
// super(Phase.SETUP_ENDING);
//super(Phase.SETUP_ENDING);
super(Phase.POST_LOGICAL);
//super(Phase.POST_MARSHAL);

}

Expand All @@ -43,4 +44,13 @@ public void handleMessage(SoapMessage message) throws Fault {
throw new Fault(ce);
}
}

/**
*
* @param message
*/
/* @Override
public void handleFault(SoapMessage message) {
System.out.println("mess="+message);
} */
}
211 changes: 211 additions & 0 deletions src/main/java/com/exacttarget/fuelsdk/ETBounceEvent.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.exacttarget.fuelsdk;

import com.exacttarget.fuelsdk.annotations.ExternalName;
import com.exacttarget.fuelsdk.annotations.InternalName;
import com.exacttarget.fuelsdk.annotations.SoapObject;
import com.exacttarget.fuelsdk.internal.BounceEvent;
import com.exacttarget.fuelsdk.internal.EventType;
import java.util.Date;

/**
* An <code>ETBounceEvent</code> object represents information pertaining to the specific event of an email message bounce.
*/

@SoapObject(internalType = BounceEvent.class)
public class ETBounceEvent extends ETSoapObject{

@InternalName("objectID")
private String id;

@InternalName("smtpCode")
private String smtpCode;

@ExternalName("bounceCategory")
private String bounceCategory;

@InternalName("smtpReason")
private String smtpReason;

@ExternalName("bounceType")
private String bounceType;

@ExternalName("sendID")
private Integer sendID;

@ExternalName("subscriberKey")
private String subscriberKey;

@ExternalName("eventDate")
private Date eventDate;

@ExternalName("eventType")
private EventType eventType;

@ExternalName("triggeredSendDefinitionObjectID")
private String triggeredSendDefinitionObjectID;

@ExternalName("batchID")
private Integer batchID;

/**
* @return the id
*/
@Override
public String getId() {
return id;
}

/**
* @param id the id to set
*/
@Override
public void setId(String id) {
this.id = id;
}

/**
* @return the smtpCode
*/
public String getSmtpCode() {
return smtpCode;
}

/**
* @param smtpCode the smtpCode to set
*/
public void setSmtpCode(String smtpCode) {
this.smtpCode = smtpCode;
}

/**
* @return the bounceCategory
*/
public String getBounceCategory() {
return bounceCategory;
}

/**
* @param bounceCategory the bounceCategory to set
*/
public void setBounceCategory(String bounceCategory) {
this.bounceCategory = bounceCategory;
}

/**
* @return the smtpReason
*/
public String getSmtpReason() {
return smtpReason;
}

/**
* @param smtpReason the smtpReason to set
*/
public void setSmtpReason(String smtpReason) {
this.smtpReason = smtpReason;
}

/**
* @return the bounceType
*/
public String getBounceType() {
return bounceType;
}

/**
* @param bounceType the bounceType to set
*/
public void setBounceType(String bounceType) {
this.bounceType = bounceType;
}

/**
* @return the sendID
*/
public Integer getSendID() {
return sendID;
}

/**
* @param sendID the sendID to set
*/
public void setSendID(Integer sendID) {
this.sendID = sendID;
}

/**
* @return the subscriberKey
*/
public String getSubscriberKey() {
return subscriberKey;
}

/**
* @param subscriberKey the subscriberKey to set
*/
public void setSubscriberKey(String subscriberKey) {
this.subscriberKey = subscriberKey;
}

/**
* @return the eventDate
*/
public Date getEventDate() {
return eventDate;
}

/**
* @param eventDate the eventDate to set
*/
public void setEventDate(Date eventDate) {
this.eventDate = eventDate;
}

/**
* @return the eventType
*/
public EventType getEventType() {
return eventType;
}

/**
* @param eventType the eventType to set
*/
public void setEventType(EventType eventType) {
this.eventType = eventType;
}

/**
* @return the triggeredSendDefinitionObjectID
*/
public String getTriggeredSendDefinitionObjectID() {
return triggeredSendDefinitionObjectID;
}

/**
* @param triggeredSendDefinitionObjectID the triggeredSendDefinitionObjectID to set
*/
public void setTriggeredSendDefinitionObjectID(String triggeredSendDefinitionObjectID) {
this.triggeredSendDefinitionObjectID = triggeredSendDefinitionObjectID;
}

/**
* @return the batchID
*/
public Integer getBatchID() {
return batchID;
}

/**
* @param batchID the batchID to set
*/
public void setBatchID(Integer batchID) {
this.batchID = batchID;
}

}
Loading