vendoo_v1.0/Vendoo/AmazonListing.swift
2016-08-30 13:50:47 -04:00

32 lines
678 B
Swift

//
// AmazonListing.swift
// Vendoo
//
// Created by cole alban on 8/29/16.
// Copyright © 2016 Okechi Onyeje. All rights reserved.
//
/*
This class will represent a single listing being posted to Amazon
*/
import Foundation
class AmazonListing{
private var price: Int
private var title: String
private var quantity: Int
private var description: String
//Initalizer, require a price, title, quantity, and description
init(price: Int, title: String, quantity: Int, description: String){
self.price = price
self.title = title
self.quantity = quantity
self.description = description
}
}