Object <- DeliveryChoice |
|
Class DeliveryChoice defines no new operations.
Attributes
Get list of all attributes
|
AddressLabel Image IsValid Means Recipient |
| Field | Type | |
|---|---|---|
| DeliveryChoice: | serviceChoice: | ServiceChoice |
| addressLabel: | AddressInfo | |
| recipient: | SimpleContact |
instance DeliveryChoice tag; serviceChoice: nilObject; addressLabel: nilObject; recipient: nilObject; end instance;
Define Class DeliveryChoice; inherits from Object; inherits from HasServiceChoice; field serviceChoice: ServiceChoice, getter, setter; // the service that this message will be sent through field addressLabel: AddressInfo, getter, setter; // the address label off the recipient's card that determines the destination address field recipient: SimpleContact, getter, sharedSetter; // the contact of the recipient of this message attribute AddressLabel: AddressInfo; attribute Recipient: SimpleContact; attribute Means: Means; // medium over which the message will be sent. Calls Means on the serviceChoice. attribute Image: Image, readOnly; // the image that gets displayed on the postage display to represent this delivery choice. // Calls PostageImage on the serviceChoice. overrides IsValid; // Make sure the delivery choice contains valid information for sending. end class;