All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softlayer.api.service.ticket.attachment.manual.Payment Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
package com.softlayer.api.service.ticket.attachment.manual;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.billing.payment.card.ManualPayment;
import com.softlayer.api.service.ticket.Attachment;

/**
 * This datatype contains tickets referenced from manual payments 
 *
 * @see SoftLayer_Ticket_Attachment_Manual_Payment
 */
@ApiType("SoftLayer_Ticket_Attachment_Manual_Payment")
public class Payment extends Attachment {

    /**
     * The manual payment that is attached to a ticket.
     */
    @ApiProperty
    protected ManualPayment resource;

    public ManualPayment getResource() {
        return resource;
    }

    public void setResource(ManualPayment resource) {
        this.resource = resource;
    }

    public static class Mask extends com.softlayer.api.service.ticket.Attachment.Mask {

        public com.softlayer.api.service.billing.payment.card.ManualPayment.Mask resource() {
            return withSubMask("resource", com.softlayer.api.service.billing.payment.card.ManualPayment.Mask.class);
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy