/*
* <auto-generated>
*     This code was generated by a tool.     
*
*     Changes to this file may cause incorrect behavior and will be lost if
*     the code is regenerated.
* </auto-generated>
*/

#import "MOZUCommerceOrdersShipmentURLComponents.h"

@implementation MOZUCommerceOrdersShipmentURLComponents

//
#pragma mark -
#pragma mark Get Operations
#pragma mark -
//

+ (MOZUURLComponents *)URLComponentsForGetShipmentOperationWithOrderId:(NSString *)orderId shipmentId:(NSString *)shipmentId responseFields:(NSString *)responseFields {
	NSString *template = @"/api/commerce/orders/{orderId}/shipments/{shipmentId}?responseFields={responseFields}";
	NSDictionary *params = @{
		@"orderId" : orderId,
		@"shipmentId" : shipmentId,
		@"responseFields" : responseFields ? responseFields : @"",
	};

	return [[MOZUURLComponents alloc] initWithTemplate:template parameters:params location:MOZUTenantPod useSSL:NO];
}

+ (MOZUURLComponents *)URLComponentsForGetAvailableShipmentMethodsOperationWithOrderId:(NSString *)orderId draft:(NSNumber *)draft {
	NSString *template = @"/api/commerce/orders/{orderId}/shipments/methods?draft={draft}";
	NSDictionary *params = @{
		@"orderId" : orderId,
		@"draft" : draft ? draft : @"",
	};

	return [[MOZUURLComponents alloc] initWithTemplate:template parameters:params location:MOZUTenantPod useSSL:NO];
}


//
#pragma mark -
#pragma mark Post Operations
#pragma mark -
//

+ (MOZUURLComponents *)URLComponentsForCreatePackageShipmentsOperationWithOrderId:(NSString *)orderId {
	NSString *template = @"/api/commerce/orders/{orderId}/shipments";
	NSDictionary *params = @{
		@"orderId" : orderId,
	};

	return [[MOZUURLComponents alloc] initWithTemplate:template parameters:params location:MOZUTenantPod useSSL:NO];
}


//
#pragma mark -
#pragma mark Put Operations
#pragma mark -
//


//
#pragma mark -
#pragma mark Delete Operations
#pragma mark -
//

+ (MOZUURLComponents *)URLComponentsForDeleteShipmentOperationWithOrderId:(NSString *)orderId shipmentId:(NSString *)shipmentId {
	NSString *template = @"/api/commerce/orders/{orderId}/shipments/{shipmentId}";
	NSDictionary *params = @{
		@"orderId" : orderId,
		@"shipmentId" : shipmentId,
	};

	return [[MOZUURLComponents alloc] initWithTemplate:template parameters:params location:MOZUTenantPod useSSL:NO];
}



@end