Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
@GatewayClass
@API(specificationUrl = "https://developer.mx.com/drafts/mdx/p2p_transfer/index.html#recurring-p2p-transfers")
public class RecurringP2PTransferBaseAccessor extends Accessor {
@GatewayAPI
@Getter(AccessLevel.PROTECTED)
private DurationBaseAccessor durations;

@GatewayAPI
@Getter(AccessLevel.PROTECTED)
private FrequencyBaseAccessor frequencies;
Expand Down Expand Up @@ -89,24 +85,6 @@ public AccessorResponse<RecurringP2PTransfer> update(String id, RecurringP2PTran
throw new AccessorMethodNotImplementedException();
}

/**
* Accessor for duration operations
*
* @return accessor
*/
@API
public DurationBaseAccessor durations() {
return durations;
}

/**
* Sets duration accessor
* @param durations
*/
public void setDurations(DurationBaseAccessor durations) {
this.durations = durations;
}

/**
* Accessor for frequency operations
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
import com.mx.path.model.mdx.model.ondemand.mixins.TransactionMixIn;
import com.mx.path.model.mdx.model.ondemand.mixins.TransactionsPageMixin;
import com.mx.path.model.mdx.model.origination.Origination;
import com.mx.path.model.mdx.model.p2p_transfer.Duration;
import com.mx.path.model.mdx.model.p2p_transfer.P2PTransfer;
import com.mx.path.model.mdx.model.p2p_transfer.RecurringP2PTransfer;
import com.mx.path.model.mdx.model.p2p_transfer.Source;
Expand Down Expand Up @@ -387,10 +386,6 @@ private static void registerDisputesModels(GsonBuilder builder) {
}

private static void registerP2PTransferModels(GsonBuilder builder) {
// Duration
builder.registerTypeAdapter(Frequency.class, new ModelWrappableSerializer("duration"));
builder.registerTypeAdapter(new TypeToken<MdxList<Duration>>() {
}.getType(), new ModelWrappableSerializer("durations"));
// Recipients
builder.registerTypeAdapter(com.mx.path.model.mdx.model.p2p_transfer.Recipient.class, new ModelWrappableSerializer("recipient"));
builder.registerTypeAdapter(new TypeToken<MdxList<com.mx.path.model.mdx.model.p2p_transfer.Recipient>>() {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ public class RecurringP2PTransfer extends MdxBase<RecurringP2PTransfer> {
private String confirmationId;
private String deliveryMethod;
private String durationType;
private String durationValue;
private Integer endAfterCount;
private LocalDate endOn;
private String frequencyId;
private String memo;
private String recipientId;
Expand Down

This file was deleted.

This file was deleted.